]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices
authorEran Matityahu <eran.m@variscite.com>
Wed, 3 Jan 2018 10:53:08 +0000 (12:53 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
Use only one SPL MMC device, similarly to the iMX6 code

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
arch/arm/mach-imx/spl.c

index 723f51fad3d8cd99ce019d39919fdf867888453d..5e0338fc4c7b6c04c70b3acba9349d027fa63842 100644 (file)
@@ -106,10 +106,9 @@ u32 spl_boot_device(void)
        switch (boot_device_spl) {
        case SD1_BOOT:
        case MMC1_BOOT:
-               return BOOT_DEVICE_MMC1;
        case SD2_BOOT:
        case MMC2_BOOT:
-               return BOOT_DEVICE_MMC2;
+               return BOOT_DEVICE_MMC1;
        case SPI_NOR_BOOT:
                return BOOT_DEVICE_SPI;
        default: