diff options
author | Eran Matityahu <eran.m@variscite.com> | 2018-01-03 12:53:08 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-01-12 14:28:04 +0100 |
commit | cd9f3ff651cdbe397c4a3da978322e942bdf5298 (patch) | |
tree | 05a83eaf873670e1b50f33499797b9844c883434 /arch | |
parent | a3cc43551f8f1cab156d02a44999c07a7261fd14 (diff) | |
download | u-boot-cd9f3ff651cdbe397c4a3da978322e942bdf5298.tar.gz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/spl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 723f51fad3..5e0338fc4c 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -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: |