]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/arm/mach-imx/mx6/litesom.c
Convert to use fsl_esdhc_imx for i.MX platforms
[thirdparty/u-boot.git] / arch / arm / mach-imx / mx6 / litesom.c
index c332d6805b9eb854c6e319efe4ca17fc1f7ac72f..4f4df7433bea21b3005682efc68a3d7c0edd0f20 100644 (file)
@@ -16,7 +16,7 @@
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/io.h>
 #include <common.h>
-#include <fsl_esdhc.h>
+#include <fsl_esdhc_imx.h>
 #include <linux/sizes.h>
 #include <mmc.h>
 
@@ -49,7 +49,7 @@ static iomux_v3_cfg_t const emmc_pads[] = {
        MX6_PAD_NAND_ALE__GPIO4_IO10 | MUX_PAD_CTRL(NO_PAD_CTRL),
 };
 
-#ifdef CONFIG_FSL_ESDHC
+#ifdef CONFIG_FSL_ESDHC_IMX
 static struct fsl_esdhc_cfg emmc_cfg = {USDHC2_BASE_ADDR, 0, 8};
 
 #define EMMC_PWR_GPIO  IMX_GPIO_NR(4, 10)