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

Eran Matityahu eran.m at variscite.com
Wed Jan 3 10:56:24 UTC 2018


Signed-off-by: Eran Matityahu <eran.m at variscite.com>
---
 arch/arm/mach-imx/spl.c | 4 ++++
 1 file changed, 4 insertions(+)

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:
-- 
2.16.0-rc0



More information about the U-Boot mailing list