Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mkbootimg: support pagesize 8192

Change-Id: I6ea20787b24fa3d271fe3ae1fce9551ee9ed4c57
  • Loading branch information...
commit 67ffceadeab46d4a43aadac0f574b14e844e01a5 1 parent 389a2fa
@koush koush authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mkbootimg/mkbootimg.c
View
2  mkbootimg/mkbootimg.c
@@ -152,7 +152,7 @@ int main(int argc, char **argv)
board = val;
} else if(!strcmp(arg,"--pagesize")) {
pagesize = strtoul(val, 0, 10);
- if ((pagesize != 2048) && (pagesize != 4096)) {
+ if ((pagesize != 2048) && (pagesize != 4096) && (pagesize != 8192)) {
fprintf(stderr,"error: unsupported page size %d\n", pagesize);
return -1;
}

1 comment on commit 67ffcea

@uzhosnah

did't you forget to fix here:
unsigned char padding[4096]
?
writing 8192 padding may cause av

Please sign in to comment.
Something went wrong with that request. Please try again.