From: Lokesh Vutla Date: Mon, 2 Jun 2014 05:15:38 +0000 (+0530) Subject: ARM: AM43xx: Fix mmcboot command in EXTRA_ENV_SETTINGS X-Git-Tag: v2014.07-rc3~4^2^2~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa03834fdf62eb40bc2d47c0e4289d6c250cb148;p=oweals%2Fu-boot.git 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 Signed-off-by: Lokesh Vutla --- diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 8473b0bf5a..8359621247 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 " \