diff options
author | Rob Emanuele <rob@emanuele.us> | 2009-09-22 19:45:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:37 -0400 |
commit | 864f38ebdcb1f7dc4138b7ccb801f16f1696eb8e (patch) | |
tree | 390fddc2e951479b0b66a8a93e1895e483394488 /arch/arm/mach-at91/include | |
parent | 04d699c3643fbf75dd72c03a4eacec87149c4aca (diff) |
AT91: atmel-mci: Platform configuration to the the atmel-mci driver
Created a modified version of the at91sam9g20 evaluation kit platform
(board-sam9g20ek-2slot-mmc.c) and device support to make use of the
updated atmel-mci driver.
As the use of two slots modify GPIO pin allocation, we create another
board file.
This requires getting the most updated arch/arm/tools/mach-types from
http://www.arm.linux.org.uk/developer/machines/download.php to have the machine
type for the at91sam9g20ek-2slot-mmc board.
[nicolas.ferre@atmel.com: printk, slot_count modification in at91sam9260_devices.c file]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Rob Emanuele <rob@emanuele.us>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Russell King <rmk@arm.linux.org.uk>
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 'arch/arm/mach-at91/include')
-rw-r--r-- | arch/arm/mach-at91/include/mach/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index 13f27a4b882d..583f38a38df7 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/leds.h> | 37 | #include <linux/leds.h> |
38 | #include <linux/spi/spi.h> | 38 | #include <linux/spi/spi.h> |
39 | #include <linux/usb/atmel_usba_udc.h> | 39 | #include <linux/usb/atmel_usba_udc.h> |
40 | #include <linux/atmel-mci.h> | ||
40 | #include <sound/atmel-ac97c.h> | 41 | #include <sound/atmel-ac97c.h> |
41 | 42 | ||
42 | /* USB Device */ | 43 | /* USB Device */ |
@@ -64,6 +65,7 @@ struct at91_cf_data { | |||
64 | extern void __init at91_add_device_cf(struct at91_cf_data *data); | 65 | extern void __init at91_add_device_cf(struct at91_cf_data *data); |
65 | 66 | ||
66 | /* MMC / SD */ | 67 | /* MMC / SD */ |
68 | /* at91_mci platform config */ | ||
67 | struct at91_mmc_data { | 69 | struct at91_mmc_data { |
68 | u8 det_pin; /* card detect IRQ */ | 70 | u8 det_pin; /* card detect IRQ */ |
69 | unsigned slot_b:1; /* uses Slot B */ | 71 | unsigned slot_b:1; /* uses Slot B */ |
@@ -73,6 +75,9 @@ struct at91_mmc_data { | |||
73 | }; | 75 | }; |
74 | extern void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data); | 76 | extern void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data); |
75 | 77 | ||
78 | /* atmel-mci platform config */ | ||
79 | extern void __init at91_add_device_mci(short mmc_id, struct mci_platform_data *data); | ||
80 | |||
76 | /* Ethernet (EMAC & MACB) */ | 81 | /* Ethernet (EMAC & MACB) */ |
77 | struct at91_eth_data { | 82 | struct at91_eth_data { |
78 | u32 phy_mask; | 83 | u32 phy_mask; |