aboutsummaryrefslogtreecommitdiff
path: root/include/configs/omap3_logic.h
diff options
context:
space:
mode:
authorAdam Ford2019-04-11 15:24:33 -0500
committerStefano Babic2019-04-25 17:03:25 +0200
commitc7d00f63d1d1c5e21ea4bf045370018638d0693e (patch)
tree9f3b05677c8ecedc8612ac5f31bcc30a5a224709 /include/configs/omap3_logic.h
parent5449e396eb8c19da750b0dc3b396aaf2d572b788 (diff)
ARM: omap3_logic: Enable UUID
Instead of hardcoding the mmcroot to /dev/mmcblkX, use the UUID method. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include/configs/omap3_logic.h')
-rw-r--r--include/configs/omap3_logic.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index fe557f91caa..9db9668703a 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -67,7 +67,7 @@
"mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
"mmcdev=0\0" \
- "mmcroot=/dev/mmcblk0p2 rw\0" \
+ "finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \
"mmcrootfstype=ext4 rootwait\0" \
"nandroot=ubi0:rootfs rw ubi.mtd=fs noinitrd\0" \
"nandrootfstype=ubifs rootwait\0" \
@@ -106,7 +106,8 @@
"ramargs=setenv bootargs "\
"root=/dev/ram rw ramdisk_size=${ramdisksize}\0" \
"mmcargs=setenv bootargs "\
- "root=${mmcroot} rootfstype=${mmcrootfstype}\0" \
+ "root=PARTUUID=${uuid} " \
+ "rootfstype=${mmcrootfstype} rw\0" \
"nandargs=setenv bootargs "\
"root=${nandroot} " \
"rootfstype=${nandrootfstype}\0" \
@@ -120,6 +121,7 @@
"loadfdt=mmc rescan; " \
"load mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \
"mmcbootcommon=echo Booting with DT from mmc${mmcdev} ...; " \
+ "run finduuid; "\
"run mmcargs; " \
"run common_bootargs; " \
"run dump_bootargs; " \