summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2019-08-23 20:00:49 +0300
committerStefano Babic <sbabic@denx.de>2019-10-08 16:36:36 +0200
commitd73c520327b2ae337efc0d557fd45a1b7010da17 (patch)
tree9f4040668d8415e2adf5c76ecc18d333c1c56166 /include
parent848ba639dcf7c3c49462a9a7ae26775ec1e19a82 (diff)
apalis_imx6: use distroboot by default
Use distro_bootcmd as default bootcmd instead of legacy wrappers. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/apalis_imx6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index c3bc3943f4..5139b01ab3 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -101,6 +101,7 @@
#ifndef CONFIG_SPL_BUILD
#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0) \
func(MMC, mmc, 1) \
func(MMC, mmc, 2) \
func(USB, usb, 0) \
@@ -183,8 +184,7 @@
#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
BOOTENV \
- "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \
- "setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
+ "bootcmd=setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
"usb start ; " \
"setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
"boot_file=zImage\0" \