mmc-omap: Add support for 16-bit and 32-bit registers
authorMarek Belisko <marek.belisko@open-nandra.com>
Mon, 31 May 2010 07:57:51 +0000 (10:57 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 31 May 2010 07:57:51 +0000 (10:57 +0300)
commitb1284d0a907afb412730baadc4554a03a1c3723f
tree129a2431aae7c67fd8be56c1d16359ba83922cf2
parent67a3e12b05e055c0415c556a315a3d3eb637e29e
mmc-omap: Add support for 16-bit and 32-bit registers

The omap850 and omap730 use 16-bit registers instead of 32-bit, requiring
a modification of the register addresses in the mmc-omap driver.  To resolve
this, a bit shift is performed on base register addresses, either by 1 or 2
bits depending on the CPU in use.  This yields the correct registers for
each CPU.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>