[U-Boot] [PATCH] ti_armv7_common: env: Fix hard coded mmc device for uuid

Tom Rini trini at konsulko.com
Thu Jun 2 21:54:12 CEST 2016


On Thu, Jun 02, 2016 at 06:14:27PM +0530, Ravi Babu wrote:
> Avoid use of hard coded mmcdev value so finduuid works
> based on current mmcdev selected.
> 
> Signed-off-by: Ravi Babu <ravibabu at ti.com>
> ---
>  include/configs/ti_armv7_common.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
> index 7db0881..bbff06b 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 ${mmcdev}:2 uuid\0" \
>  	"args_mmc=run finduuid;setenv bootargs console=${console} " \
>  		"${optargs} " \
>  		"root=PARTUUID=${uuid} rw " \

Good, but incomplete find.  am33xx doesn't, but other TI families do,
"common"-out the bootpart variable and this is what should be used here,
after making sure everyone that uses this has a bootpart set.

-- 
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/20160602/85d7c49b/attachment.sig>


More information about the U-Boot mailing list