summaryrefslogtreecommitdiff
path: root/include/configs/mvebu_armada-37xx.h
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2017-12-02 10:46:37 +0100
committerStefan Roese <sr@denx.de>2018-01-09 16:41:00 +0100
commit6779d65b9f2256ecbfe957a7dd7c8de38f7f8126 (patch)
treef197f54cfdb61fa11bbf695c23176a111d1fd1fa /include/configs/mvebu_armada-37xx.h
parente4e18a8acbadcbf95262867aefb33a16c4f432b4 (diff)
arm64: a37xx: use distro bootcmd
Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Konstantin Porotchkin <kostap@marvell.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/mvebu_armada-37xx.h')
-rw-r--r--include/configs/mvebu_armada-37xx.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index c7ccc6ef5e..9f2db099cd 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -106,11 +106,22 @@
#include <config_distro_defaults.h>
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 1) \
+ func(MMC, mmc, 0) \
+ func(USB, usb, 0) \
+ func(SCSI, scsi, 0) \
+ func(PXE, pxe, na) \
+ func(DHCP, dhcp, na)
+
+#include <config_distro_bootcmd.h>
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"scriptaddr=0x4d00000\0" \
"pxefile_addr_r=0x4e00000\0" \
"fdt_addr_r=0x4f00000\0" \
"kernel_addr_r=0x5000000\0" \
- "ramdisk_addr_r=0x8000000"
+ "ramdisk_addr_r=0x8000000\0" \
+ BOOTENV
#endif /* _CONFIG_MVEBU_ARMADA_37XX_H */