summaryrefslogtreecommitdiff
path: root/include/configs/stm32f746-disco.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2020-02-03 15:10:40 +0100
committerPatrick Delaunay <patrick.delaunay@st.com>2020-02-13 18:47:00 +0100
commit8ee5e3c81f47b8647ef05219058d260199c51d1b (patch)
tree087774cddae2eaea7a299ae71ad59a0191be2720 /include/configs/stm32f746-disco.h
parent638c2058f80e72a3ae08efd4fd755c07872dc2b1 (diff)
board: stm32: remove fdt_high and fdt_highinitrd_high
For stm32 f4, f7 and h7 boards, remove fdt_high and initrd_high as they shouldn't be used, this allows the fdt and initrd relocation. This implies to set CONFIG_SYS_BOOTMAPSZ to indicate the amount of memory available to contain kernel, device tree and initrd for relocation. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com>
Diffstat (limited to 'include/configs/stm32f746-disco.h')
-rw-r--r--include/configs/stm32f746-disco.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
index 6d82a9cdd1..45343d2323 100644
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -7,6 +7,11 @@
#ifndef __CONFIG_H
#define __CONFIG_H
+#include <linux/sizes.h>
+
+/* For booting Linux, use the first 6MB of memory */
+#define CONFIG_SYS_BOOTMAPSZ SZ_4M + SZ_2M
+
#define CONFIG_SYS_FLASH_BASE 0x08000000
#define CONFIG_SYS_INIT_SP_ADDR 0x20050000
@@ -52,8 +57,6 @@
"scriptaddr=0xC0418000\0" \
"pxefile_addr_r=0xC0428000\0" \
"ramdisk_addr_r=0xC0438000\0" \
- "fdt_high=0xffffffffffffffff\0" \
- "initrd_high=0xffffffffffffffff\0" \
BOOTENV
/*