summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-01-10 01:28:37 +0100
committerPatrick Delaunay <patrick.delaunay@st.com>2020-01-17 16:17:38 +0100
commit7819b57dbba615466917d48799982dddd243079c (patch)
tree400f92118015937ce6abfb4f71a264f8db9f6220 /include/configs
parent846254888e2e1bd91edeedd208fca44eea512845 (diff)
ARM: stm32: Fill in missing loadaddr
Since CONFIG_LOADADDR is not set, the default value of $loadaddr variable is not set in the environment either. Set the default load address to 32 MiB from the start of DRAM (same value than kernel_addr_r). Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/stm32mp1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 655833428e..a66534e027 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -33,9 +33,10 @@
#define CONFIG_SYS_CBSIZE SZ_1K
/*
- * Needed by "loadb"
+ * default load address used for command tftp, bootm , loadb, ...
*/
-#define CONFIG_SYS_LOAD_ADDR STM32_DDR_BASE
+#define CONFIG_LOADADDR 0xc2000000
+#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
/* ATAGs */
#define CONFIG_CMDLINE_TAG