am 2c72df99: am 65e461c4: Fix the pagesize argument parsing
Merge commit '2c72df998799738662a77cef3f522fdc6ae22fde' * commit '2c72df998799738662a77cef3f522fdc6ae22fde': Fix the pagesize argument parsing
This commit is contained in:
commit
b8185d9108
|
@ -121,8 +121,6 @@ int main(int argc, char **argv)
|
|||
hdr.second_addr = 0x10F00000;
|
||||
hdr.tags_addr = 0x10000100;
|
||||
|
||||
hdr.page_size = pagesize;
|
||||
|
||||
while(argc > 0){
|
||||
char *arg = argv[0];
|
||||
char *val = argv[1];
|
||||
|
@ -159,6 +157,8 @@ int main(int argc, char **argv)
|
|||
return usage();
|
||||
}
|
||||
}
|
||||
hdr.page_size = pagesize;
|
||||
|
||||
|
||||
if(bootimg == 0) {
|
||||
fprintf(stderr,"error: no output filename specified\n");
|
||||
|
|
Loading…
Reference in New Issue