summaryrefslogtreecommitdiff
path: root/board/freescale/mx25pdk/mx25pdk.c
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-06-21 06:42:28 +0300
committerPeng Fan <peng.fan@nxp.com>2019-06-23 09:18:34 +0300
commite37ac717d7964e59cbbb435f2571e8c637896b64 (patch)
tree12d230e4de36e953bd30b29b68e4924d1fe62ad7 /board/freescale/mx25pdk/mx25pdk.c
parentfa33d207494cd20bc8039460b16cef1179cd6f6a (diff)
downloadu-boot-e37ac717d7964e59cbbb435f2571e8c637896b64.tar.xz
Convert to use fsl_esdhc_imx for i.MX platforms
Converted to use fsl_esdhc_imx for i.MX platforms. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Tested-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Martyn Welch <martyn.welch@collabora.com> Acked-by: Jason Liu <Jason.hui.liu@nxp.com>
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. */