diff mbox

[3/3] configs: am43xx_evm: make sure to set devtype correctly

Message ID 1399665578-4640-4-git-send-email-balbi@ti.com
State New
Headers show

Commit Message

Felipe Balbi May 9, 2014, 7:59 p.m. UTC
if we don't set devtype properly 'load' will fail.

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

Patch

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};" \