Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fcbde44 authored by rbox's avatar rbox
Browse files

mkbootimg: Fix bootimg structure after adding --dt parameter

396224f2 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
parent af4728a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -44,7 +44,7 @@ struct boot_img_hdr
    uint32_t tags_addr;    /* physical addr for kernel tags */
    uint32_t tags_addr;    /* physical addr for kernel tags */
    uint32_t page_size;    /* flash page size we assume */
    uint32_t page_size;    /* flash page size we assume */
    uint32_t dt_size;      /* device tree in bytes */
    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 */
    uint8_t name[BOOT_NAME_SIZE]; /* asciiz product name */