summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/fsl-lsch3/cpu.c
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@freescale.com>2015-03-20 19:28:31 -0700
committerYork Sun <yorksun@freescale.com>2015-04-23 16:46:51 -0700
commit8b06460e5518eeec449298c91fb1424b36c9b305 (patch)
tree8a0cdaf5b9551c31a8f40b64e6b4b43e96c5ab20 /arch/arm/cpu/armv8/fsl-lsch3/cpu.c
parent32eda7cc945212ba8df569e399b0361b32676ac2 (diff)
downloadu-boot-imx-8b06460e5518eeec449298c91fb1424b36c9b305.zip
u-boot-imx-8b06460e5518eeec449298c91fb1424b36c9b305.tar.gz
u-boot-imx-8b06460e5518eeec449298c91fb1424b36c9b305.tar.bz2
ls2085a: esdhc: Add esdhc support for ls2085a
This patch adds esdhc support for ls2085a. Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv8/fsl-lsch3/cpu.c')
-rw-r--r--arch/arm/cpu/armv8/fsl-lsch3/cpu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/fsl-lsch3/cpu.c b/arch/arm/cpu/armv8/fsl-lsch3/cpu.c
index 07064a3..6714577 100644
--- a/arch/arm/cpu/armv8/fsl-lsch3/cpu.c
+++ b/arch/arm/cpu/armv8/fsl-lsch3/cpu.c
@@ -13,6 +13,9 @@
#include <fsl_debug_server.h>
#include <fsl-mc/fsl_mc.h>
#include <asm/arch/fsl_serdes.h>
+#ifdef CONFIG_FSL_ESDHC
+#include <fsl_esdhc.h>
+#endif
#include "cpu.h"
#include "mp.h"
#include "speed.h"
@@ -412,6 +415,13 @@ int print_cpuinfo(void)
}
#endif
+#ifdef CONFIG_FSL_ESDHC
+int cpu_mmc_init(bd_t *bis)
+{
+ return fsl_esdhc_mmc_init(bis);
+}
+#endif
+
int cpu_eth_init(bd_t *bis)
{
int error = 0;