summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-hi6220/dwmmc.h
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-07-30 18:55:22 +0100
committerTom Rini <trini@konsulko.com>2015-08-12 20:48:01 -0400
commit447da58b576db418080867183f31a6957ccbbd7a (patch)
treed72ac4bba1f12ec6be3f94c2f9c085edf1e95776 /arch/arm/include/asm/arch-hi6220/dwmmc.h
parent242b2f0c7adc932196e91e922ce4980d31800b0c (diff)
downloadtalos-obmc-uboot-447da58b576db418080867183f31a6957ccbbd7a.tar.gz
talos-obmc-uboot-447da58b576db418080867183f31a6957ccbbd7a.zip
mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller.
This patch adds the glue code for hi6220 SoC which has 2x synopsis dw_mmc controllers. This will be used by the hikey board support in subsequent patches. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/arch-hi6220/dwmmc.h')
-rw-r--r--arch/arm/include/asm/arch-hi6220/dwmmc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-hi6220/dwmmc.h b/arch/arm/include/asm/arch-hi6220/dwmmc.h
new file mode 100644
index 0000000000..c747383025
--- /dev/null
+++ b/arch/arm/include/asm/arch-hi6220/dwmmc.h
@@ -0,0 +1,8 @@
+/*
+ * (C) Copyright 2015 Linaro
+ * Peter Griffin <peter.griffin@linaro.org>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+int hi6220_dwmci_add_port(int index, u32 regbase, int bus_width);
OpenPOWER on IntegriCloud