U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices
@ 2018-01-03 10:53 Eran Matityahu
  2018-01-03 11:42 ` Uri Mashiach
  0 siblings, 1 reply; 13+ messages in thread
From: Eran Matityahu @ 2018-01-03 10:53 UTC (permalink / raw)
  To: u-boot

Use only one SPL MMC device, similarly to the iMX6 code

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
---
 arch/arm/mach-imx/spl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index d0d1b73aa6..6b5bd8990c 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -106,10 +106,9 @@ u32 spl_boot_device(void)
 	switch (boot_device_spl) {
 	case SD1_BOOT:
 	case MMC1_BOOT:
-		return BOOT_DEVICE_MMC1;
 	case SD2_BOOT:
 	case MMC2_BOOT:
-		return BOOT_DEVICE_MMC2;
+		return BOOT_DEVICE_MMC1;
 	case SPI_NOR_BOOT:
 		return BOOT_DEVICE_SPI;
 	default:
-- 
2.16.0-rc0

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-01-04 12:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-03 10:53 [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices Eran Matityahu
2018-01-03 11:42 ` Uri Mashiach
2018-01-03 13:58   ` Eran Matityahu
2018-01-04  8:36     ` Uri Mashiach
2018-01-04  9:14     ` Stefano Babic
2018-01-04 10:02       ` Eran Matityahu
2018-01-04 10:11         ` Eran Matityahu
2018-01-04 10:42           ` Stefano Babic
2018-01-04 10:56             ` Eran Matityahu
2018-01-04 11:37               ` Stefano Babic
2018-01-04 12:02                 ` Uri Mashiach
2018-01-04 12:05                   ` Eran Matityahu
2018-01-04 12:16                     ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox