aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2021-08-24 07:58:46 -0300
committerStefano Babic <sbabic@denx.de>2021-10-07 17:45:00 +0200
commit84482e4f4e9100cebd069fb59f44eb92e0eeac83 (patch)
treeb665527bdc536bf43b679e12566cee97669c1b31 /include
parent68de913c12c4d091f51009ad6f179fab825d3d82 (diff)
downloadu-boot-84482e4f4e9100cebd069fb59f44eb92e0eeac83.zip
u-boot-84482e4f4e9100cebd069fb59f44eb92e0eeac83.tar.gz
u-boot-84482e4f4e9100cebd069fb59f44eb92e0eeac83.tar.bz2
smegw01: Pass 'mmcpart' to the kernel command line
When using SWUpdate, it is necessary to toggle between partitions. Use the 'mmcpart' environment variable to accomplish that. Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/smegw01.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h
index cf80801..55ca801 100644
--- a/include/configs/smegw01.h
+++ b/include/configs/smegw01.h
@@ -26,9 +26,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 ...; " \