summaryrefslogtreecommitdiff
path: root/include/configs/odroid.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-01-17 16:12:58 +0300
committerMinkyu Kang <mk7.kang@samsung.com>2020-01-28 03:54:49 +0300
commit51521e43603d37e6be2ffd1ad2607361650500e9 (patch)
treecf2a4af3eb1c134d034d2c9609de35d01dd5d7d6 /include/configs/odroid.h
parent86c88711082b9fb4da5f7eb0b80d5604c283f0c5 (diff)
downloadu-boot-51521e43603d37e6be2ffd1ad2607361650500e9.tar.xz
arm: exynos: odroid: Change autoboot script to use ${mmcbootdev}
This fixes the default boot command for the SD-card boot case. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/odroid.h')
-rw-r--r--include/configs/odroid.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 7989fb29d1..a7e2a3d9a2 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -146,13 +146,13 @@
"run kernel_args;" \
"bootz ${kernel_addr_r} ${initrd_addr} ${fdt_addr};\0" \
"autoboot=" \
- "if test -e mmc 0 boot.scr; then; " \
+ "if test -e mmc ${mmcbootdev} boot.scr; then; " \
"run boot_script; " \
- "elif test -e mmc 0 Image.itb; then; " \
+ "elif test -e mmc ${mmcbootdev} Image.itb; then; " \
"run boot_fit;" \
- "elif test -e mmc 0 zImage; then; " \
+ "elif test -e mmc ${mmcbootdev} zImage; then; " \
"run boot_zimg;" \
- "elif test -e mmc 0 uImage; then; " \
+ "elif test -e mmc ${mmcbootdev} uImage; then; " \
"run boot_uimg;" \
"fi;\0" \
"console=" CONFIG_DEFAULT_CONSOLE \