Skip to content

Commit

Permalink
mkbootimg: add 32K 64K and 128K pagesizes
Browse files Browse the repository at this point in the history
Change-Id: I392fe860b51a8c022ffdace45b8eeb46618d6ec6
  • Loading branch information
mikeNG committed Sep 4, 2016
1 parent 3a66fa1 commit 65f3300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mkbootimg/mkbootimg
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def parse_cmdline():
parser.add_argument('--board', help='board name', default='', action=ValidateStrLenAction,
maxlen=16)
parser.add_argument('--pagesize', help='page size', type=parse_int,
choices=[2**i for i in range(11,15)], default=2048)
choices=[2**i for i in range(11,18)], default=2048)
parser.add_argument('--id', help='print the image ID on standard output',
action='store_true')
parser.add_argument('--dt', help='path to the device tree image', type=FileType('rb'))
Expand Down
2 changes: 1 addition & 1 deletion mkbootimg/unpackbootimg
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def parse_cmdline():
required=True)
parser.add_argument('-o', '--output', help='output directory', default='')
parser.add_argument('--pagesize', help='page size', type=parse_int,
choices=[2**i for i in range(11,15)], default=0)
choices=[2**i for i in range(11,18)], default=0)
return parser.parse_args()

def seek_padding(f, size, pagesize):
Expand Down

0 comments on commit 65f3300

Please sign in to comment.