summaryrefslogtreecommitdiff
path: root/include/configs/stm32h743-disco.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/stm32h743-disco.h')
-rw-r--r--include/configs/stm32h743-disco.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/include/configs/stm32h743-disco.h b/include/configs/stm32h743-disco.h
index 5b6ee76e7c..f110e2994c 100644
--- a/include/configs/stm32h743-disco.h
+++ b/include/configs/stm32h743-disco.h
@@ -15,9 +15,6 @@
/*
* Configuration of the external SDRAM memory
*/
-#define CONFIG_NR_DRAM_BANKS 1
-#define CONFIG_SYS_RAM_BASE 0xD0000000
-#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_RAM_BASE
#define CONFIG_SYS_LOAD_ADDR 0xD0400000
#define CONFIG_LOADADDR 0xD0400000
@@ -33,13 +30,24 @@
#define CONFIG_SYS_MAXARGS 16
#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
-#define CONFIG_BOOTARGS \
- "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0)
+
+#include <config_distro_bootcmd.h>
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "kernel_addr_r=0xD0008000\0" \
+ "fdtfile=stm32h743i-disco.dtb\0" \
+ "fdt_addr_r=0xD0700000\0" \
+ "scriptaddr=0xD0800000\0" \
+ "pxefile_addr_r=0xD0800000\0" \
+ "fdt_high=0xffffffffffffffff\0" \
+ "initrd_high=0xffffffffffffffff\0" \
+ "ramdisk_addr_r=0xD0900000\0" \
+ BOOTENV
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_BOARD_LATE_INIT
#endif /* __CONFIG_H */