imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

Use only one SPL MMC device, similarly to the iMX6 code

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
This commit is contained in:
Eran Matityahu 2018-01-03 12:53:08 +02:00 committed by Stefano Babic
parent a3cc43551f
commit cd9f3ff651
1 changed files with 1 additions and 2 deletions

View 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: