summaryrefslogtreecommitdiffstats
path: root/board/freescale/mx53ard
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-06-21 11:42:28 +0800
committerPeng Fan <peng.fan@nxp.com>2019-06-23 14:18:34 +0800
commite37ac717d7964e59cbbb435f2571e8c637896b64 (patch)
tree12d230e4de36e953bd30b29b68e4924d1fe62ad7 /board/freescale/mx53ard
parentfa33d207494cd20bc8039460b16cef1179cd6f6a (diff)
downloadu-boot-e37ac717d7964e59cbbb435f2571e8c637896b64.tar.gz
u-boot-e37ac717d7964e59cbbb435f2571e8c637896b64.tar.xz
u-boot-e37ac717d7964e59cbbb435f2571e8c637896b64.zip
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/mx53ard')
-rw-r--r--board/freescale/mx53ard/mx53ard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c
index 9ed466895f..e8fccccafd 100644
--- a/board/freescale/mx53ard/mx53ard.c
+++ b/board/freescale/mx53ard/mx53ard.c
@@ -13,7 +13,7 @@
#include <linux/errno.h>
#include <netdev.h>
#include <mmc.h>
-#include <fsl_esdhc.h>
+#include <fsl_esdhc_imx.h>
#include <asm/gpio.h>
#define ETHERNET_INT IMX_GPIO_NR(2, 31)
@@ -112,7 +112,7 @@ static void setup_iomux_uart(void)
imx_iomux_v3_setup_multiple_pads(uart_pads, ARRAY_SIZE(uart_pads));
}
-#ifdef CONFIG_FSL_ESDHC
+#ifdef CONFIG_FSL_ESDHC_IMX
struct fsl_esdhc_cfg esdhc_cfg[2] = {
{MMC_SDHC1_BASE_ADDR},
{MMC_SDHC2_BASE_ADDR},