From: Eran Matityahu <eran.m@variscite.com>
Date: Wed, 3 Jan 2018 10:56:24 +0000 (+0200)
Subject: imx7: spl: Add support for MMC3, SD3 and NAND boot devices
X-Git-Tag: v2025.01-rc5-pxa1908~5137^2~35
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=e7528a3d7436fd0d073ecdd8527f9a0dc535e172;p=u-boot.git

imx7: spl: Add support for MMC3, SD3 and NAND boot devices

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
---

diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 5e0338fc4c..346fc0bee9 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: