diff mbox series

[2/2] mx6sxsabresd: Adjust the mmcdev after DM conversion

Message ID 20191219175942.3915-2-festevam@gmail.com
State Accepted
Commit d7cd860c22c1403a554012fd2bf7983ade0acc26
Delegated to: Stefano Babic
Headers show
Series [1/2] pfuze: Fix the pmic_get() parameter in the DM case | expand

Commit Message

Fabio Estevam Dec. 19, 2019, 5:59 p.m. UTC
After the DM conversion the boot SD card is now device 3.

Adjust it so that we can boot the kernel again.

While at it avoid a hardcoded mmc dev inside the finduuid script.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 include/configs/mx6sxsabresd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stefano Babic Dec. 28, 2019, 10:48 a.m. UTC | #1
> After the DM conversion the boot SD card is now device 3.
> Adjust it so that we can boot the kernel again.
> While at it avoid a hardcoded mmc dev inside the finduuid script.
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 704d9f3dcb..55aace1c6e 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -54,9 +54,9 @@ 
 	"boot_fdt=try\0" \
 	"ip_dyn=yes\0" \
 	"videomode=video=ctfb:x:800,y:480,depth:24,pclk:29850,le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0\0" \
-	"mmcdev=2\0" \
+	"mmcdev=3\0" \
 	"mmcpart=1\0" \
-	"finduuid=part uuid mmc 2:2 uuid\0" \
+	"finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
 		"root=PARTUUID=${uuid} rootwait rw\0" \
 	"loadbootscript=" \