aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2021-08-04 18:42:45 +0530
committerTom Rini <trini@konsulko.com>2021-09-10 20:10:20 -0400
commite34ab0e01f3e7e1d6d8264e3050b6053cc14eba1 (patch)
treed31894df2829d2d02a418ebf5cb0681d974cdefd
parent3d16b33533801be14d0d7b8041aee0a9832bc8eb (diff)
downloadu-boot-e34ab0e01f3e7e1d6d8264e3050b6053cc14eba1.zip
u-boot-e34ab0e01f3e7e1d6d8264e3050b6053cc14eba1.tar.gz
u-boot-e34ab0e01f3e7e1d6d8264e3050b6053cc14eba1.tar.bz2
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>
-rw-r--r--include/environment/ti/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h
index b86c8dc..769ea9d 100644
--- a/include/environment/ti/mmc.h
+++ b/include/environment/ti/mmc.h
@@ -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 " \