summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorEran Matityahu <eran.m@variscite.com>2018-01-03 12:56:24 +0200
committerStefano Babic <sbabic@denx.de>2018-01-12 14:28:04 +0100
commite7528a3d7436fd0d073ecdd8527f9a0dc535e172 (patch)
tree101aa1245ff84b5bfda3d932270545b7604c4283 /arch/arm
parentcd9f3ff651cdbe397c4a3da978322e942bdf5298 (diff)
imx7: spl: Add support for MMC3, SD3 and NAND boot devices
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/spl.c4
1 files changed, 4 insertions, 0 deletions
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: