diff mbox series

[2/3] environment: ti: mmc.h: Make the finduuid generic for usage across different device types

Message ID 20210804131247.6672-3-a-govindraju@ti.com
State Accepted
Commit e34ab0e01f3e7e1d6d8264e3050b6053cc14eba1
Delegated to: Tom Rini
Headers show
Series AM64: Add support for booting to kernel from USB MSC device | expand

Commit Message

Aswath Govindraju Aug. 4, 2021, 1:12 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Sept. 11, 2021, 12:16 p.m. UTC | #1
On Wed, Aug 04, 2021 at 06:42:45PM +0530, Aswath Govindraju wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h
index b86c8dc7a4f3..769ea9d5ef70 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 " \