summaryrefslogtreecommitdiffstats
path: root/include/fsl_esdhc.h
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 /include/fsl_esdhc.h
parent32eda7cc945212ba8df569e399b0361b32676ac2 (diff)
downloadtalos-obmc-uboot-8b06460e5518eeec449298c91fb1424b36c9b305.tar.gz
talos-obmc-uboot-8b06460e5518eeec449298c91fb1424b36c9b305.zip
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 'include/fsl_esdhc.h')
-rw-r--r--include/fsl_esdhc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h
index 57295b4bc0..41bf05be4c 100644
--- a/include/fsl_esdhc.h
+++ b/include/fsl_esdhc.h
@@ -158,7 +158,11 @@
#define ESDHC_VENDORSPEC_VSELECT 0x00000002 /* Use 1.8V */
struct fsl_esdhc_cfg {
+#ifdef CONFIG_LS2085A
+ u64 esdhc_base;
+#else
u32 esdhc_base;
+#endif
u32 sdhc_clk;
u8 max_bus_width;
struct mmc_config cfg;
OpenPOWER on IntegriCloud