summaryrefslogtreecommitdiff
path: root/board/compulab/cl-som-imx7/cl-som-imx7.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/compulab/cl-som-imx7/cl-som-imx7.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/compulab/cl-som-imx7/cl-som-imx7.c')
-rw-r--r--board/compulab/cl-som-imx7/cl-som-imx7.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/compulab/cl-som-imx7/cl-som-imx7.c b/board/compulab/cl-som-imx7/cl-som-imx7.c
index 1bc33b0a7b..94e7bf194b 100644
--- a/board/compulab/cl-som-imx7/cl-som-imx7.c
+++ b/board/compulab/cl-som-imx7/cl-som-imx7.c
@@ -12,7 +12,7 @@
#include <mmc.h>
#include <phy.h>
#include <netdev.h>
-#include <fsl_esdhc.h>
+#include <fsl_esdhc_imx.h>
#include <power/pmic.h>
#include <power/pfuze3000_pmic.h>
#include <asm/mach-imx/mxc_i2c.h>
@@ -68,7 +68,7 @@ int dram_init(void)
return 0;
}
-#ifdef CONFIG_FSL_ESDHC
+#ifdef CONFIG_FSL_ESDHC_IMX
#define CL_SOM_IMX7_GPIO_USDHC3_PWR IMX_GPIO_NR(6, 11)
@@ -116,7 +116,7 @@ int board_mmc_init(bd_t *bis)
return 0;
}
-#endif /* CONFIG_FSL_ESDHC */
+#endif /* CONFIG_FSL_ESDHC_IMX */
#ifdef CONFIG_FEC_MXC