diff options
author | rbox <androidrbox@gmail.com> | 2015-10-11 17:29:09 -0700 |
---|---|---|
committer | rbox <androidrbox@gmail.com> | 2015-10-11 17:29:09 -0700 |
commit | 0fcbde444948c6851d08a2c4de0a44d555f112f5 (patch) | |
tree | 52fc308d5840befe5fd1dc0ebf6b5a0dd7699cfc /mkbootimg/bootimg.h | |
parent | af4728a5fced1b7b8d4aad1cf6ad4b63fa5c1e58 (diff) | |
download | system_core-0fcbde444948c6851d08a2c4de0a44d555f112f5.zip system_core-0fcbde444948c6851d08a2c4de0a44d555f112f5.tar.gz system_core-0fcbde444948c6851d08a2c4de0a44d555f112f5.tar.bz2 |
mkbootimg: Fix bootimg structure after adding --dt parameter
396224f2caf2fadf7b35239e7daf87139824e3e7 added dt_size to bootimg.h,
but didn't fix the unused field, so cmdline was shifted by 4
bytes from where it was supposed to be.
Change-Id: I112b735971dc75ed7feacfb849ef1b76858caa96
Diffstat (limited to 'mkbootimg/bootimg.h')
-rw-r--r-- | mkbootimg/bootimg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkbootimg/bootimg.h b/mkbootimg/bootimg.h index 8ece2eb..e66e269 100644 --- a/mkbootimg/bootimg.h +++ b/mkbootimg/bootimg.h @@ -44,7 +44,7 @@ struct boot_img_hdr uint32_t tags_addr; /* physical addr for kernel tags */ uint32_t page_size; /* flash page size we assume */ uint32_t dt_size; /* device tree in bytes */ - uint32_t unused[2]; /* future expansion: should be 0 */ + uint32_t unused; /* future expansion: should be 0 */ uint8_t name[BOOT_NAME_SIZE]; /* asciiz product name */ |