tmio_mmc: add bus_shift support
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 4 Jun 2009 18:12:32 +0000 (20:12 +0200)
committerPierre Ossman <pierre@ossman.eu>
Sat, 13 Jun 2009 20:43:00 +0000 (22:43 +0200)
commit5e74672c0925335bb00772530634ac70179e8a19
tree79439c648df81cd2fdce4e4fc50d90ff6ba20e04
parentf0e46cc4971f6be96010d9248e0fc076b229d989
tmio_mmc: add bus_shift support

Some ASIC3 devices in the wild are connected with the address bus shifted
by one line, so that its 16-bit registers appear 32-bit aligned in host
memory space.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h