summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-10-22 16:47:43 +0800
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:39 +0200
commite637b30b9c9f454427e7277eddb6b1f489f3bbc8 (patch)
treeaad566b75ab38d6db433566f3a3fcf8457d3ebf4 /arch/arm/include/asm
parentff2b47f6a9cc10251cc601d34241ee02933c2187 (diff)
downloadu-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 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-sunxi/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/mmc.h b/arch/arm/include/asm/arch-sunxi/mmc.h
index 70d7875..8a21674 100644
--- a/arch/arm/include/asm/arch-sunxi/mmc.h
+++ b/arch/arm/include/asm/arch-sunxi/mmc.h
@@ -43,7 +43,7 @@ struct sunxi_mmc {
u32 chda; /* 0x90 */
u32 cbda; /* 0x94 */
u32 res1[26];
-#if defined(CONFIG_SUN6I)
+#if defined(CONFIG_SUN6I) || defined(CONFIG_SUN8I)
u32 res2[64];
#endif
u32 fifo; /* 0x100 (0x200 on sun6i) FIFO access address */