[U-Boot] [PATCH 04/14] imx: ventana: use mmc_root in boot scripts
Tim Harvey
tharvey at gateworks.com
Mon Mar 13 15:51:04 UTC 2017
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
include/configs/gw_ventana.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 31b3010..d51bcc9 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}; " \
--
2.7.4
More information about the U-Boot
mailing list