summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-04-24 19:26:39 +0300
committerTom Rini <trini@konsulko.com>2019-04-24 19:26:39 +0300
commitc2bb9c5b9e333c200e3702d9ed5ac9b6095191b6 (patch)
treef3a017fe861211d45c8965aeac2f488f06c989d5 /include/configs
parentceb6ddbc73607e9395bb5f0ad94159755f049e77 (diff)
parentc406a474311c1ee3c4303a7e85db4a8e45966e31 (diff)
downloadu-boot-c2bb9c5b9e333c200e3702d9ed5ac9b6095191b6.tar.xz
Merge tag 'u-boot-stm32-mcu-20190423' of https://github.com/pchotard/u-boot
STM32 MCUs update: - DT rework and alignment with DT kernel v4.20 - mmc: arm_pl180_mmci: Synchronize compatible with kernel v4.20 - mmc: stm32_sdmmc2: Synchronize properties with kernel v4.20 - configs: update for F746/769 boards
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/stm32f746-disco.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
index dae402f91b..84bbc76ef5 100644
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -43,14 +43,20 @@
#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
-#define CONFIG_BOOTCOMMAND \
- "run bootcmd_romfs"
-
-#define CONFIG_EXTRA_ENV_SETTINGS \
- "bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
- "bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
- "bootm 0x08044000 - 0x08042000\0"
-
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0)
+
+#include <config_distro_bootcmd.h>
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "kernel_addr_r=0xC0008000\0" \
+ "fdtfile=stm32f746-disco.dtb\0" \
+ "fdt_addr_r=0xC0500000\0" \
+ "scriptaddr=0xC0008000\0" \
+ "pxefile_addr_r=0xC0008000\0" \
+ "fdt_high=0xffffffffffffffff\0" \
+ "initrd_high=0xffffffffffffffff\0" \
+ "ramdisk_addr_r=0xD0900000\0" \
+ BOOTENV
/*
* Command line configuration.