summaryrefslogtreecommitdiff
path: root/board/freescale/mx25pdk/mx25pdk.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-08 22:49:50 +0300
committerTom Rini <trini@konsulko.com>2019-07-08 22:59:41 +0300
commitf5e73a34eddea4fb7c5e3d984b86f395996a64cd (patch)
tree1854f2e0d2dae343f85870f2a62ae35bdd335a85 /board/freescale/mx25pdk/mx25pdk.c
parente5aee22e4be75e75a854ab64503fc80598bc2004 (diff)
parent5053da2e4aa297d888cdfc7d216d935504a9472a (diff)
downloadu-boot-f5e73a34eddea4fb7c5e3d984b86f395996a64cd.tar.xz
Merge tag 'mmc-6-23' of https://github.com/MrVan/u-boot
- Pull in the series to split fsl_esdhc for i.MX/non-i.MX cleanly
Diffstat (limited to 'board/freescale/mx25pdk/mx25pdk.c')
-rw-r--r--board/freescale/mx25pdk/mx25pdk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c
index 18922d8131..c59f0fb922 100644
--- a/board/freescale/mx25pdk/mx25pdk.c
+++ b/board/freescale/mx25pdk/mx25pdk.c
@@ -12,7 +12,7 @@
#include <asm/arch/iomux-mx25.h>
#include <asm/arch/clock.h>
#include <mmc.h>
-#include <fsl_esdhc.h>
+#include <fsl_esdhc_imx.h>
#include <i2c.h>
#include <power/pmic.h>
#include <fsl_pmic.h>
@@ -24,7 +24,7 @@
DECLARE_GLOBAL_DATA_PTR;
-#ifdef CONFIG_FSL_ESDHC
+#ifdef CONFIG_FSL_ESDHC_IMX
struct fsl_esdhc_cfg esdhc_cfg[1] = {
{IMX_MMC_SDHC1_BASE},
};
@@ -151,7 +151,7 @@ int board_late_init(void)
return 0;
}
-#ifdef CONFIG_FSL_ESDHC
+#ifdef CONFIG_FSL_ESDHC_IMX
int board_mmc_getcd(struct mmc *mmc)
{
/* Set up the Card Detect pin. */