summaryrefslogtreecommitdiff
path: root/include/configs/display5.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-08-18 22:22:07 +0200
committerTom Rini <trini@konsulko.com>2018-08-20 13:11:08 -0400
commitf008e2600841ff24986fd2b25a8d7498a41f0438 (patch)
tree51abf81188c02becbf83c9b35a859c8bbfffe451 /include/configs/display5.h
parent612e99123bc3f7591f4246f0d89bad337f7c524f (diff)
display5: Introduce fitImg_fw_sz variable
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>
Diffstat (limited to 'include/configs/display5.h')
-rw-r--r--include/configs/display5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/display5.h b/include/configs/display5.h
index fc8261373a..514638f684 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -166,7 +166,7 @@
"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 */
@@ -273,6 +273,7 @@
"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" \