ARM: sunxi-mmc: Add mmc support for sun6i / A31
authorHans de Goede <hdegoede@redhat.com>
Fri, 3 Oct 2014 12:16:26 +0000 (20:16 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:37 +0000 (09:35 +0200)
commit1d1bd42eb08b267a0884a0fa04483daeda169f6d
tree09cb2b0f3d11fae933e5f0b146384028eab56430
parent14177e47e856a59812e8150c889e4fcdb6316dbe
ARM: sunxi-mmc: Add mmc support for sun6i / A31

The mmc hardware on sun6i has an extra reset control that needs to
be de-asserted prior to usage. Also the FIFO address is different.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[wens@csie.org: use setbits_le32 for reset control, drop obsolete changes,
rewrite different FIFO address handling, add commit message]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/mmc.h
drivers/mmc/sunxi_mmc.c