From: B, Ravi Date: Fri, 3 Jun 2016 15:14:02 +0000 (+0530) Subject: ti_armv7_common: env: Fix hard coded mmc device for uuid X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=65eac4cc54921f9496061b0e0f0a7e159b42a3c6;p=u-boot.git 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 Reviewed-by: Tom Rini --- 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 " \