summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-03-24 15:45:17 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-03-26 14:49:40 +0100
commitfe272b5bd13d3522f9d1ed35425f1c7af4d8343f (patch)
treebcc8231f5cc49efb353d9bd70700f2b6a8909c92
parentecb1bd894e7238acfc6174602c29190d239be9b1 (diff)
downloadlinux-fe272b5bd13d3522f9d1ed35425f1c7af4d8343f.tar.gz
linux-fe272b5bd13d3522f9d1ed35425f1c7af4d8343f.tar.xz
avr32: configure MCI detect and write protect pins for EVKLCD10x boards
This patch removes the special handling of MCI platform data for EVKLCD10x boards. This is now possible since the pin mask for the LCD controller is no longer reserving the I/O lines used for MCI card detection and write protect. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-rw-r--r--arch/avr32/boards/atngw100/setup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c
index 05d3722fff18..feac0035800c 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -56,13 +56,8 @@ static struct spi_board_info spi0_board_info[] __initdata = {
static struct mci_platform_data __initdata mci0_data = {
.slot[0] = {
.bus_width = 4,
-#ifndef CONFIG_BOARD_ATNGW100_EVKLCD10X
.detect_pin = GPIO_PIN_PC(25),
.wp_pin = GPIO_PIN_PE(0),
-#else
- .detect_pin = GPIO_PIN_NONE,
- .wp_pin = GPIO_PIN_NONE,
-#endif
},
};