summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB, Ravi <ravibabu@ti.com>2016-06-03 20:44:02 +0530
committerTom Rini <trini@konsulko.com>2016-06-06 13:39:20 -0400
commit65eac4cc54921f9496061b0e0f0a7e159b42a3c6 (patch)
treef36eba15a59240cf6eb3d2d575c7c6c8290519ce
parentcdaa633fcf9c2bd54aa3c130ee727708a4e2406a (diff)
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. Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/ti_armv7_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 7db08813e4..ba7cf15242 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -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 " \