summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-09-04 18:13:42 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2017-10-02 19:26:40 +0200
commitcc1ec0477cfae3775d5ce26c4326fec4ad3f9578 (patch)
treede8a496d754a6f4aaa895dd010f7cc94b5be95e5 /include
parenta264de806fd59ad123ff48388ca0e979f6e44b2c (diff)
colibri_imx7_emmc: fix boot commands
Use proper emmc specific device tree and boot from eMMC by default rather than from NAND aka ubi. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/colibri_imx7_emmc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/colibri_imx7_emmc.h b/include/configs/colibri_imx7_emmc.h
index 1fe3d0f66a2..873b8885feb 100644
--- a/include/configs/colibri_imx7_emmc.h
+++ b/include/configs/colibri_imx7_emmc.h
@@ -93,7 +93,7 @@
"setenv bootargs ${defargs} ${nfsargs} " \
"${setupargs} ${vidargs}; echo Booting from NFS...;" \
"dhcp ${kernel_addr_r} && " \
- "tftp ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && " \
+ "tftp ${fdt_addr_r} ${soc}-colibri-emmc-${fdt_board}.dtb && " \
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
#define SD_BOOTCMD \
@@ -105,8 +105,8 @@
"load mmc 1:1 ${fdt_addr_r} ${soc}-colibri-emmc-${fdt_board}.dtb && " \
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
-#define CONFIG_BOOTCOMMAND "run ubiboot; " \
- "setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd;"
+#define CONFIG_BOOTCOMMAND "run emmcboot ; echo ; echo emmcboot failed ; " \
+ "setenv fdtfile ${soc}-colibri-emmc-${fdt_board}.dtb && run distro_bootcmd;"
#define BOOTENV_RUN_NET_USB_START ""
#define BOOT_TARGET_DEVICES(func) \