]> git.sur5r.net Git - u-boot/commitdiff
ti_armv7_common: env: Fix hard coded mmc device for uuid
authorB, Ravi <ravibabu@ti.com>
Fri, 3 Jun 2016 15:14:02 +0000 (20:44 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2016 17:39:20 +0000 (13:39 -0400)
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>
include/configs/ti_armv7_common.h

index 7db08813e4958981a6261bdfdf4d1e99e33d2a83..ba7cf15242f6422011b05ac4045d949269ea033b 100644 (file)
@@ -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 " \