summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2010-05-26 14:41:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 09:12:39 -0700
commit0e950fa686d53a57ee6c47f477ecfc681670c6a9 (patch)
treeded26d5e60a5290dbfaa86b60eca049a8d0da51e /mm/memcontrol.c
parentca2afb6dbea74ee762ae5856af7045a57a65e9c8 (diff)
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> Cc: Ladislav Michl <ladis@linux-mips.org> Cc: Ben Dooks <ben@fluff.org> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions