environment: ti: mmc.h: Make the finduuid generic for usage across different device types

Make finduuid generic by making it dependent on the boot variable. For
example, this can now be used for finding the uuid of partitions in usb
device too.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
This commit is contained in:
Aswath Govindraju 2021-08-02 21:39:54 +05:30 committed by Praneeth Bajjuri
parent b070908a8a
commit 04701dce2b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
#define DEFAULT_MMC_TI_ARGS \ #define DEFAULT_MMC_TI_ARGS \
"mmcdev=0\0" \ "mmcdev=0\0" \
"mmcrootfstype=ext4 rootwait\0" \ "mmcrootfstype=ext4 rootwait\0" \
"finduuid=part uuid mmc ${bootpart} uuid\0" \ "finduuid=part uuid ${boot} ${bootpart} uuid\0" \
"args_mmc=run finduuid;setenv bootargs console=${console} " \ "args_mmc=run finduuid;setenv bootargs console=${console} " \
"${optargs} " \ "${optargs} " \
"root=PARTUUID=${uuid} rw " \ "root=PARTUUID=${uuid} rw " \