arm: mach-rockchip: bind sub-nodes for rk3399_syscon
[oweals/u-boot.git] / arch / arm / mach-imx / spl.c
index 32d78b799c36789c03eb0d5534c18c61afc7c29e..1a231c67f5accb032a6a691d9b2ad2c07229f33d 100644 (file)
@@ -8,6 +8,8 @@
 
 #include <common.h>
 #include <hang.h>
+#include <init.h>
+#include <log.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
@@ -197,14 +199,14 @@ u32 spl_mmc_boot_mode(const u32 boot_device)
        case SD1_BOOT:
        case SD2_BOOT:
        case SD3_BOOT:
-               if (IS_ENABLED(CONFIG_SPL_FAT_SUPPORT))
+               if (IS_ENABLED(CONFIG_SPL_FS_FAT))
                        return MMCSD_MODE_FS;
                else
                        return MMCSD_MODE_RAW;
        case MMC1_BOOT:
        case MMC2_BOOT:
        case MMC3_BOOT:
-               if (IS_ENABLED(CONFIG_SPL_FAT_SUPPORT))
+               if (IS_ENABLED(CONFIG_SPL_FS_FAT))
                        return MMCSD_MODE_FS;
                else if (IS_ENABLED(CONFIG_SUPPORT_EMMC_BOOT))
                        return MMCSD_MODE_EMMCBOOT;