summaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards/atngw100/setup.c
diff options
context:
space:
mode:
authorPeter Ma <pma@mediamatech.com>2009-06-08 12:55:35 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-06-08 12:55:35 +0200
commit4024533e60787a5507818b0c0fdb44ddb522cdf5 (patch)
tree2ee86ae2a86720ab7f7b6bd5403edc53290f8dd1 /arch/avr32/boards/atngw100/setup.c
parentavr32: Change Atmel ATNGW100 config to add choice of add-on board (diff)
downloadlinux-4024533e60787a5507818b0c0fdb44ddb522cdf5.tar.xz
linux-4024533e60787a5507818b0c0fdb44ddb522cdf5.zip
avr32: Add support for Mediama RMTx add-on board for ATNGW100
Signed-off-by: Peter Ma <pma@mediamatech.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atngw100/setup.c')
-rw-r--r--arch/avr32/boards/atngw100/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c
index 5b022aad4bd9..bc299fbbeb4e 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -56,8 +56,13 @@ static struct spi_board_info spi0_board_info[] __initdata = {
static struct mci_platform_data __initdata mci0_data = {
.slot[0] = {
.bus_width = 4,
+#if defined(CONFIG_BOARD_ATNGW100_EVKLCD10X) || defined(CONFIG_BOARD_ATNGW100_MRMT1)
+ .detect_pin = GPIO_PIN_NONE,
+ .wp_pin = GPIO_PIN_NONE,
+#else
.detect_pin = GPIO_PIN_PC(25),
.wp_pin = GPIO_PIN_PE(0),
+#endif
},
};