imx7: spl: Add support for MMC3, SD3 and NAND boot devices
authorEran Matityahu <eran.m@variscite.com>
Wed, 3 Jan 2018 10:56:24 +0000 (12:56 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
Signed-off-by: Eran Matityahu <eran.m@variscite.com>
arch/arm/mach-imx/spl.c

index 5e0338f..346fc0b 100644 (file)
@@ -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: