]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap-common/boot-common.c
arm: omap: add support for am57xx devices
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / boot-common.c
index 30335647605442f227d349c2da93eb02ff430894..b819fe2e6427c54ebfe97b6c6d032a54ba36364b 100644 (file)
@@ -57,7 +57,7 @@ void save_omap_boot_params(void)
                }
        }
 
-#ifdef CONFIG_DRA7XX
+#if defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)
        /*
         * We get different values for QSPI_1 and QSPI_4 being used, but
         * don't actually care about this difference.  Rather than
@@ -81,8 +81,8 @@ u32 spl_boot_mode(void)
 
        if (val == MMCSD_MODE_RAW)
                return MMCSD_MODE_RAW;
-       else if (val == MMCSD_MODE_FAT)
-               return MMCSD_MODE_FAT;
+       else if (val == MMCSD_MODE_FS)
+               return MMCSD_MODE_FS;
        else
 #ifdef CONFIG_SUPPORT_EMMC_BOOT
                return MMCSD_MODE_EMMCBOOT;