aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey2017-03-13 08:51:04 -0700
committerStefano Babic2017-03-19 17:29:50 +0100
commit79942c4ffc51ba036886848b0b0a23fcba503930 (patch)
treea0544ddbbe88e91db371c532e53baf47734d4bca
parent65da5c3b653c8ac63accc51194863bc8ff10b4e3 (diff)
imx: ventana: use mmc_root in boot scripts
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
-rw-r--r--include/configs/gw_ventana.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 31b3010b764..d51bcc9e24e 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -296,14 +296,14 @@
"fi\0" \
\
"uimage=uImage\0" \
- "mmc_root=/dev/mmcblk0p1 rootfstype=${fs} rootwait rw\0" \
+ "mmc_root=mmcblk0p1\0" \
"mmc_boot=" \
"setenv fsload \"${fs}load mmc ${disk}:${part}\"; " \
"mmc dev ${disk} && mmc rescan && " \
"setenv dtype mmc; run loadscript; " \
"if ${fsload} ${loadaddr} ${bootdir}/${uimage}; then " \
"setenv bootargs console=${console},${baudrate} " \
- "root=/dev/mmcblk0p1 rootfstype=${fs} " \
+ "root=/dev/${mmc_root} rootfstype=${fs} " \
"rootwait rw ${video} ${extra}; " \
"if run loadfdt; then " \
"bootm ${loadaddr} - ${fdt_addr}; " \