From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Thu, 2 Jun 2016 19:37:13 +0530 Subject: [U-Boot] [PATCH] ti_armv7_common: env: Fix hard coded mmc device for uuid In-Reply-To: <1464871467-22269-1-git-send-email-ravibabu@ti.com> References: <1464871467-22269-1-git-send-email-ravibabu@ti.com> Message-ID: <57503D91.1040700@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 6/2/2016 6:14 PM, Ravi Babu wrote: > Avoid use of hard coded mmcdev value so finduuid works > based on current mmcdev selected. Acked-by: Lokesh Vutla Thanks and regards, Lokesh > > Signed-off-by: Ravi Babu > --- > include/configs/ti_armv7_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h > index 7db0881..bbff06b 100644 > --- a/include/configs/ti_armv7_common.h > +++ b/include/configs/ti_armv7_common.h > @@ -59,7 +59,7 @@ > #define DEFAULT_MMC_TI_ARGS \ > "mmcdev=0\0" \ > "mmcrootfstype=ext4 rootwait\0" \ > - "finduuid=part uuid mmc 0:2 uuid\0" \ > + "finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \ > "args_mmc=run finduuid;setenv bootargs console=${console} " \ > "${optargs} " \ > "root=PARTUUID=${uuid} rw " \ >