ARM: 6244/1: mmci: add variant data and default MCICLOCK support
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 21 Jul 2010 11:54:40 +0000 (12:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jul 2010 14:39:56 +0000 (15:39 +0100)
commit4956e10903fd3459306dd9438c1e714ba3068a2a
tree2604ac9ef417563c1ef6fc98867d8c88993c256e
parentbb8f563c848faa113059973f68c24a3bb6a9585e
ARM: 6244/1: mmci: add variant data and default MCICLOCK support

Add a variant_data structure to handle the differences between the
various variants of this peripheral.  Add a first quirk for a default
MCICLOCK value, required on the Ux500 variant where the enable bit needs
to be always set, since it controls access to some registers.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h