]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
display5: Introduce fitImg_fw_sz variable
authorLukasz Majewski <lukma@denx.de>
Sat, 18 Aug 2018 20:22:07 +0000 (22:22 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 20 Aug 2018 17:11:08 +0000 (13:11 -0400)
This cosmetic change allow easy adjustment of the to-load kernel size if
needed.

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Lukasz Majewski <lukma@denx.de>
include/configs/display5.h

index fc8261373a38a91d8e61432c3e7d894f488d1bc3..514638f6848fd2869e5788f4f00cbfbbb28e4c39 100644 (file)
                      "rootwait rootfstype=ext4 rw; " \
        "run set_kernel_part;" \
        "part start mmc ${mmcdev} ${kernel_part} lba_start; " \
-       "mmc read ${loadaddr} ${lba_start} 0x2000; " \
+       "mmc read ${loadaddr} ${lba_start} ${fitImg_fw_sz}; " \
        "setenv fdt_conf imx6q-${board}-${display}.dtb; "
 
 /* All the numbers are in LBAs */
        "fdt_high=0xffffffff\0" \
        "initrd_high=0xffffffff\0" \
        "kernel_file=fitImage\0" \
+       "fitImg_fw_sz=0x2200\0" \
        "up=run tftp_sf_SPL; run tftp_sf_uboot\0" \
        "download_kernel=" \
                "tftpboot ${loadaddr} ${kernel_file};\0" \