aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-08-03 11:46:18 +0200
committerTom Rini <trini@konsulko.com>2018-08-13 14:03:57 -0400
commite2158a5fd81f74182203319dab17da09bbc07e96 (patch)
treeed451558f3208b5a0aa8977963047852a90e7474 /include
parente95c98182bbef95a8d089f451ef6cc38a8e1f800 (diff)
downloadu-boot-e2158a5fd81f74182203319dab17da09bbc07e96.zip
u-boot-e2158a5fd81f74182203319dab17da09bbc07e96.tar.gz
u-boot-e2158a5fd81f74182203319dab17da09bbc07e96.tar.bz2
configs: stm32h743-evaluation: Add DISTRO_DEFAULT support
Add DISTRO_DEFAULT support to be able to boot on mmc by default on boot. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/stm32h743-eval.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/include/configs/stm32h743-eval.h b/include/configs/stm32h743-eval.h
index 90fc736..b49dc1a 100644
--- a/include/configs/stm32h743-eval.h
+++ b/include/configs/stm32h743-eval.h
@@ -31,8 +31,20 @@
#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-eval.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.