]> git.sur5r.net Git - u-boot/commitdiff
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 5e0338fc4c7b6c04c70b3acba9349d027fa63842..346fc0bee97e1c0cb5f39804213524e92c25cf63 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: