Commit fa03834fdf62eb40bc2d47c0e4289d6c250cb148
Committed by
Tom Rini
1 parent
0970051d13
Exists in
v2017.01-smarct4x
and in
40 other branches
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
include/configs/am43xx_evm.h
... | ... | @@ -179,6 +179,7 @@ |
179 | 179 | "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ |
180 | 180 | "mmcboot=mmc dev ${mmcdev}; " \ |
181 | 181 | "setenv devnum ${mmcdev}; " \ |
182 | + "setenv devtype mmc; " \ | |
182 | 183 | "if mmc rescan; then " \ |
183 | 184 | "echo SD/MMC found on device ${devnum};" \ |
184 | 185 | "if run loadbootenv; then " \ |