From: Marek Belisko Date: Mon, 31 May 2010 07:57:51 +0000 (+0300) Subject: mmc-omap: Add support for 16-bit and 32-bit registers X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1284d0a907afb412730baadc4554a03a1c3723f;p=pandora-kernel.git 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 Signed-off-by: Cory Maccarrone Signed-off-by: Tony Lindgren ---