aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2020-10-07 21:47:58 -0500
committerLokesh Vutla <lokeshvutla@ti.com>2020-10-12 08:09:53 +0530
commit25364f5ec8e9ee9271c55c5d0b1b51034438fe8b (patch)
treec0471f881ebf13e516bef73534eba18c4200ef65 /include
parent85bdcf03b79bb35b98fce26d8dd064cc1165917a (diff)
downloadu-boot-25364f5ec8e9ee9271c55c5d0b1b51034438fe8b.zip
u-boot-25364f5ec8e9ee9271c55c5d0b1b51034438fe8b.tar.gz
u-boot-25364f5ec8e9ee9271c55c5d0b1b51034438fe8b.tar.bz2
configs: j721e_evm: Use DEFAULT_LINUX_BOOT_ENV
Use DEFAULT_LINUX_BOOT_ENV to define the standard addresses used in rest of TI platforms as defined in ti_armv7_common.h This avoids the standard pitfalls we've had with kernel images and fdt addresses stomping on each other. As part of this process, redefine overlayaddr to be dtboaddr (defined in ti_armv7_common.h for this very purpose).. we will get rid of overlayaddr later in the series. Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/j721e_evm.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
index c8a7603..4ccf6f6 100644
--- a/include/configs/j721e_evm.h
+++ b/include/configs/j721e_evm.h
@@ -67,9 +67,7 @@
"findfdt=" \
"setenv name_fdt ${default_device_tree};" \
"setenv fdtfile ${name_fdt}\0" \
- "loadaddr=0x80080000\0" \
- "fdtaddr=0x82000000\0" \
- "overlayaddr=0x83000000\0" \
+ "overlayaddr=${dtboaddr}\0" \
"name_kern=Image\0" \
"console=ttyS2,115200n8\0" \
"args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 " \
@@ -99,8 +97,8 @@
"fdt resize 0x100000;" \
"for overlay in $name_overlays;" \
"do;" \
- "load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && " \
- "fdt apply ${overlayaddr};" \
+ "load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && " \
+ "fdt apply ${dtboaddr};" \
"done;\0" \
"partitions=" PARTS_DEFAULT \
"get_kern_mmc=load mmc ${bootpart} ${loadaddr} " \
@@ -137,6 +135,7 @@
/* Incorporate settings into the U-Boot environment */
#define CONFIG_EXTRA_ENV_SETTINGS \
+ DEFAULT_LINUX_BOOT_ENV \
DEFAULT_MMC_TI_ARGS \
DEFAULT_FIT_TI_ARGS \
EXTRA_ENV_J721E_BOARD_SETTINGS \