diff options
author | Patrice Chotard | 2018-08-03 11:46:20 +0200 |
---|---|---|
committer | Tom Rini | 2018-08-13 14:03:57 -0400 |
commit | 82ec63a5a17872e03aa303bbcfa1e7cac04a69c6 (patch) | |
tree | ef19f90309cce278948f33e4838270fc0064a0a1 /include | |
parent | 20fc114314051237d50beffa02d1ecd94eaad1e6 (diff) |
configs: stm32f469-discovery: 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/stm32f469-discovery.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/include/configs/stm32f469-discovery.h b/include/configs/stm32f469-discovery.h index 3e4e89bc407..c95f3f7de45 100644 --- a/include/configs/stm32f469-discovery.h +++ b/include/configs/stm32f469-discovery.h @@ -40,11 +40,20 @@ #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) -#define CONFIG_BOOTCOMMAND \ - "run boot_sd" - -#define CONFIG_EXTRA_ENV_SETTINGS \ - "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32f469-disco.dtb; fatload mmc 0 0x00008000 zImage; bootz 0x00008000 - 0x00700000" +#define BOOT_TARGET_DEVICES(func) \ + func(MMC, mmc, 0) + +#include <config_distro_bootcmd.h> +#define CONFIG_EXTRA_ENV_SETTINGS \ + "kernel_addr_r=0x00008000\0" \ + "fdtfile=stm32f469-disco.dtb\0" \ + "fdt_addr_r=0x00700000\0" \ + "scriptaddr=0x00800000\0" \ + "pxefile_addr_r=0x00800000\0" \ + "fdt_high=0xffffffffffffffff\0" \ + "initrd_high=0xffffffffffffffff\0" \ + "ramdisk_addr_r=0x00900000\0" \ + BOOTENV /* * Command line configuration. |