diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-10-22 16:47:43 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-10-24 09:35:39 +0200 |
commit | e637b30b9c9f454427e7277eddb6b1f489f3bbc8 (patch) | |
tree | aad566b75ab38d6db433566f3a3fcf8457d3ebf4 /drivers/mmc | |
parent | ff2b47f6a9cc10251cc601d34241ee02933c2187 (diff) | |
download | u-boot-imx-e637b30b9c9f454427e7277eddb6b1f489f3bbc8.zip u-boot-imx-e637b30b9c9f454427e7277eddb6b1f489f3bbc8.tar.gz u-boot-imx-e637b30b9c9f454427e7277eddb6b1f489f3bbc8.tar.bz2 |
mmc: sunxi: Add support for sun8i (A23)
The Allwinner A23 SoC has reset controls like the A31 (sun6i).
The FIFO address is also the same as sun6i.
Re-use code added for sun6i.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/sunxi_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index d3b1039..16592e3 100644 --- a/drivers/mmc/sunxi_mmc.c +++ b/drivers/mmc/sunxi_mmc.c @@ -75,7 +75,7 @@ static int mmc_clk_io_on(int sdc_no) /* config ahb clock */ setbits_le32(&ccm->ahb_gate0, 1 << AHB_GATE_OFFSET_MMC(sdc_no)); -#if defined(CONFIG_SUN6I) +#if defined(CONFIG_SUN6I) || defined(CONFIG_SUN8I) /* unassert reset */ setbits_le32(&ccm->ahb_reset0_cfg, 1 << AHB_RESET_OFFSET_MMC(sdc_no)); #endif |