diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2019-06-21 06:42:28 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2019-06-23 09:18:34 +0300 |
commit | e37ac717d7964e59cbbb435f2571e8c637896b64 (patch) | |
tree | 12d230e4de36e953bd30b29b68e4924d1fe62ad7 /board/kosagi/novena | |
parent | fa33d207494cd20bc8039460b16cef1179cd6f6a (diff) | |
download | u-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/kosagi/novena')
-rw-r--r-- | board/kosagi/novena/novena.c | 2 | ||||
-rw-r--r-- | board/kosagi/novena/novena_spl.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c index 78294b820e..dcf3d7ff89 100644 --- a/board/kosagi/novena/novena.c +++ b/board/kosagi/novena/novena.c @@ -25,7 +25,7 @@ #include <asm/mach-imx/video.h> #include <dwc_ahsata.h> #include <environment.h> -#include <fsl_esdhc.h> +#include <fsl_esdhc_imx.h> #include <i2c.h> #include <input.h> #include <ipu_pixfmt.h> diff --git a/board/kosagi/novena/novena_spl.c b/board/kosagi/novena/novena_spl.c index b2d670e0ed..00210ab254 100644 --- a/board/kosagi/novena/novena_spl.c +++ b/board/kosagi/novena/novena_spl.c @@ -19,7 +19,7 @@ #include <asm/arch/crm_regs.h> #include <i2c.h> #include <mmc.h> -#include <fsl_esdhc.h> +#include <fsl_esdhc_imx.h> #include <spl.h> #include <asm/arch/mx6-ddr.h> @@ -404,7 +404,7 @@ static inline void novena_spl_setup_iomux_video(void) {} /* * SPL boots from uSDHC card */ -#ifdef CONFIG_FSL_ESDHC +#ifdef CONFIG_FSL_ESDHC_IMX static struct fsl_esdhc_cfg usdhc_cfg = { USDHC3_BASE_ADDR, 0, 4 }; @@ -566,7 +566,7 @@ void board_init_f(ulong dummy) #ifdef CONFIG_BOARD_POSTCLK_INIT board_postclk_init(); #endif -#ifdef CONFIG_FSL_ESDHC +#ifdef CONFIG_FSL_ESDHC_IMX get_clocks(); #endif |