diff mbox series

[U-Boot,2/2] imx7: spl: Add support for MMC3, SD3 and NAND boot devices

Message ID 20180103105624.GA51118@ubuntu
State Accepted
Commit e7528a3d7436fd0d073ecdd8527f9a0dc535e172
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices | expand

Commit Message

Eran Matityahu Jan. 3, 2018, 10:56 a.m. UTC
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
---
 arch/arm/mach-imx/spl.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 6b5bd8990c..27d065dc86 100644
--- a/arch/arm/mach-imx/spl.c
+++ b/arch/arm/mach-imx/spl.c
@@ -108,7 +108,11 @@  u32 spl_boot_device(void)
 	case MMC1_BOOT:
 	case SD2_BOOT:
 	case MMC2_BOOT:
+	case SD3_BOOT:
+	case MMC3_BOOT:
 		return BOOT_DEVICE_MMC1;
+	case NAND_BOOT:
+		return BOOT_DEVICE_NAND;
 	case SPI_NOR_BOOT:
 		return BOOT_DEVICE_SPI;
 	default: