diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2014-06-02 10:45:38 +0530 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-06 17:46:15 -0400 |
commit | fa03834fdf62eb40bc2d47c0e4289d6c250cb148 (patch) | |
tree | 2c30da78ee63582c1472a74cd136dea1238660eb /include/configs/am43xx_evm.h | |
parent | 0970051d13501c150841d7f6f0ecc7372ef619fd (diff) | |
download | u-boot-imx-fa03834fdf62eb40bc2d47c0e4289d6c250cb148.zip u-boot-imx-fa03834fdf62eb40bc2d47c0e4289d6c250cb148.tar.gz u-boot-imx-fa03834fdf62eb40bc2d47c0e4289d6c250cb148.tar.bz2 |
ARM: AM43xx: Fix mmcboot command in EXTRA_ENV_SETTINGS
loadbootenv expects devtype variable to be set. This is missing in
mmcboot command. With this the following error comes:
U-Boot# run mmcboot
mmc0 is current device
SD/MMC found on device 0
** Bad device usb 0 **
** Bad device usb 0 **
Fixing this by setting devtype as mmc.
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/configs/am43xx_evm.h')
-rw-r--r-- | include/configs/am43xx_evm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 8473b0b..8359621 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -179,6 +179,7 @@ "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ "mmcboot=mmc dev ${mmcdev}; " \ "setenv devnum ${mmcdev}; " \ + "setenv devtype mmc; " \ "if mmc rescan; then " \ "echo SD/MMC found on device ${devnum};" \ "if run loadbootenv; then " \ |