Skip to contentSkip to conversation

ti_armv7_common: env: Fix hard coded mmc device for uuid

PATCH New Ravi Babu 2 participants 3 messages Jun 3, 2016 – Jun 6, 2016

lore
Share & tools
lore

Ravi Babu

author
#0 lore raw

PATCH 1/1 ti_armv7_common: env: Fix hard coded mmc device for uuid

Avoid use of hard coded mmcdev value, use bootpart instead, so finduuid works based on bootpart set for a specific platform.

---
 include/configs/ti_armv7_common.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ti_armv7_common.h +1 -1
index 7db0881..ba7cf15 100644
@@ -59,7 +59,7 @@
 #define DEFAULT_MMC_TI_ARGS \
 	"mmcdev=0\0" \
 	"mmcrootfstype=ext4 rootwait\0" \
-	"finduuid=part uuid mmc 0:2 uuid\0" \
+	"finduuid=part uuid mmc ${bootpart} uuid\0" \
 	"args_mmc=run finduuid;setenv bootargs console=${console} " \
 		"${optargs} " \
 		"root=PARTUUID=${uuid} rw " \
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ti_armv7_common: env: Fix hard coded mmc device for uuid

Quoted 5 lines · Ravi Babu

Avoid use of hard coded mmcdev value, use bootpart instead, so finduuid works based on bootpart set for a specific platform.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160606/2ab3830c/attachment.sig>
#2 lore raw

PATCH 1/1 ti_armv7_common: env: Fix hard coded mmc device for uuid

In reply to Ravi Babu
Quoted 6 lines · Ravi

Avoid use of hard coded mmcdev value, use bootpart instead, so finduuid works based on bootpart set for a specific platform.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160606/d73f0bd1/attachment.sig>