environment: ti: mmc.h: Make the finduuid generic for usage across different device...
authorAswath Govindraju <a-govindraju@ti.com>
Wed, 4 Aug 2021 13:12:45 +0000 (18:42 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 11 Sep 2021 00:10:20 +0000 (20:10 -0400)
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>
include/environment/ti/mmc.h

index b86c8dc..769ea9d 100644 (file)
@@ -11,7 +11,7 @@
 #define DEFAULT_MMC_TI_ARGS \
        "mmcdev=0\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} " \
                "${optargs} " \
                "root=PARTUUID=${uuid} rw " \