[PATCH 1/3] smegw01: Pass 'mmcpart' to the kernel command line
Fabio Estevam
festevam at denx.de
Tue Aug 24 12:58:46 CEST 2021
When using SWUpdate, it is necessary to toggle between partitions.
Use the 'mmcpart' environment variable to accomplish that.
Signed-off-by: Fabio Estevam <festevam at denx.de>
---
include/configs/smegw01.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h
index 6f7b46e49b..e66047acbd 100644
--- a/include/configs/smegw01.h
+++ b/include/configs/smegw01.h
@@ -29,9 +29,8 @@
"bootm_size=0x10000000\0" \
"mmcdev=0\0" \
"mmcpart=1\0" \
- "mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
- "root=${mmcroot}\0" \
+ "root=/dev/mmcblk0p${mmcpart} rootwait rw\0" \
"loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/${image}\0" \
"loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} boot/${fdtfile}\0" \
"mmcboot=echo Booting from mmc ...; " \
--
2.25.1
More information about the U-Boot
mailing list