]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
AT91 MMC update for 2.6.19
authorAndrew Victor <andrew@sanpeople.com>
Mon, 11 Dec 2006 11:40:23 +0000 (12:40 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 11 Dec 2006 11:43:35 +0000 (12:43 +0100)
commit99eeb8dfb1ce3df744e2e0d00dd627d7a8199ef0
tree5c2de26997789a04ae8a92e1177922ae27945ae4
parenta98087cf81e91999a91ceedb2d2e3a95827c651f
AT91 MMC update for 2.6.19

The driver is usable on the newer SAM9 processors so replace all text
references to AT91RM9200 with just AT91.

The controller bug where all the words are byte-swapped is fixed on the
AT91SAM9 processors.  The byte-swapping work-around therefore only needs
to be done if cpu_is_at91rm9200().
[Original patch from Wojtek Kaniewski]

The AT91RM9200 and AT91SAM9260 processors support two MMC/SD slots - the
slot which is connected is now passed via the platform_data and the
correct slot selected in the AT91_MCI_SDCR register.

The driver should not be calling at91_set_gpio_output() since the VCC
pin should have already been configured as an output in the
processor/board setup code.  The driver should call
at91_set_gpio_value().

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/at91_mci.c