diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-02-08 18:12:18 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-04-13 20:30:08 +0200 |
commit | 321be226438681cf52cf31e0c442bdb7027487cf (patch) | |
tree | 6b35335561d552330b607d345f6b7e9c6583cac1 /include | |
parent | 26ee49a777d2acad013888979143aee9ad99d4c9 (diff) | |
download | u-boot-321be226438681cf52cf31e0c442bdb7027487cf.tar.gz u-boot-321be226438681cf52cf31e0c442bdb7027487cf.tar.xz u-boot-321be226438681cf52cf31e0c442bdb7027487cf.zip |
apalis_imx6: use both sd/mmc interfaces for setsdupdate
During porting to 2016.11 the check of a SD (mmc2) interface
was dropped, this was unintended.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/apalis_imx6.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index 5f865e1f08..7df32feb0d 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -210,8 +210,10 @@ "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \ "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \ "flash_eth.img && source ${loadaddr}\0" \ - "setsdupdate=setenv interface mmc; setenv drive 1; mmc rescan; load " \ - "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ + "setsdupdate=setenv interface mmc; setenv drive 1; mmc rescan; " \ + "load ${interface} ${drive}:1 ${loadaddr} flash_blk.img " \ + "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ + " ${loadaddr} flash_blk.img && " \ "source ${loadaddr}\0" \ "setup=setenv setupargs fec_mac=${ethaddr} " \ "consoleblank=0 no_console_suspend=1 console=tty1 " \ |