[U-Boot] [PATCH 3/3] configs: am43xx_evm: make sure to set devtype correctly

Felipe Balbi balbi at ti.com
Fri May 9 21:59:38 CEST 2014


if we don't set devtype properly 'load' will fail.

Signed-off-by: Felipe Balbi <balbi at ti.com>
---
 include/configs/am43xx_evm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d7866ff..e661c9c 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -153,6 +153,7 @@
 	"loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
 	"loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
 	"mmcboot=mmc dev ${mmcdev}; " \
+		"setenv devtype mmc; " \
 		"setenv devnum ${mmcdev}; " \
 		"if mmc rescan; then " \
 			"echo SD/MMC found on device ${devnum};" \
-- 
2.0.0.rc1



More information about the U-Boot mailing list