u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Aswath Govindraju <a-govindraju@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
	Aswath Govindraju <a-govindraju@ti.com>,
	Lokesh Vutla <lokeshvutla@ti.com>, Simon Glass <sjg@chromium.org>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Dave Gerlach <d-gerlach@ti.com>,
	"Matwey V. Kornilov" <matwey.kornilov@gmail.com>,
	<u-boot@lists.denx.de>
Subject: [PATCH 2/3] environment: ti: mmc.h: Make the finduuid generic for usage across different device types
Date: Wed, 4 Aug 2021 18:42:45 +0530	[thread overview]
Message-ID: <20210804131247.6672-3-a-govindraju@ti.com> (raw)
In-Reply-To: <20210804131247.6672-1-a-govindraju@ti.com>

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

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 " \
-- 
2.17.1


  parent reply	other threads:[~2021-08-04 13:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 13:12 [PATCH 0/3] AM64: Add support for booting to kernel from USB MSC device Aswath Govindraju
2021-08-04 13:12 ` [PATCH 1/3] board: ti: am64x: Add support for fixing dr_mode while booting from USB Aswath Govindraju
2021-09-11 12:16   ` Tom Rini
2021-08-04 13:12 ` Aswath Govindraju [this message]
2021-09-11 12:16   ` [PATCH 2/3] environment: ti: mmc.h: Make the finduuid generic for usage across different device types Tom Rini
2021-08-04 13:12 ` [PATCH 3/3] include: configs: am64x_evm: Add env variables for booting to kernel using USB MSC device Aswath Govindraju
2021-09-11 12:16   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210804131247.6672-3-a-govindraju@ti.com \
    --to=a-govindraju@ti.com \
    --cc=d-gerlach@ti.com \
    --cc=kishon@ti.com \
    --cc=lokeshvutla@ti.com \
    --cc=matwey.kornilov@gmail.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).