diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2015-07-30 18:55:22 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:48:01 -0400 |
commit | 447da58b576db418080867183f31a6957ccbbd7a (patch) | |
tree | d72ac4bba1f12ec6be3f94c2f9c085edf1e95776 /arch | |
parent | 242b2f0c7adc932196e91e922ce4980d31800b0c (diff) | |
download | u-boot-imx-447da58b576db418080867183f31a6957ccbbd7a.zip u-boot-imx-447da58b576db418080867183f31a6957ccbbd7a.tar.gz u-boot-imx-447da58b576db418080867183f31a6957ccbbd7a.tar.bz2 |
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')
-rw-r--r-- | arch/arm/include/asm/arch-hi6220/dwmmc.h | 8 |
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 0000000..c747383 --- /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); |