aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-stamp9g20.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/board-stamp9g20.c')
-rw-r--r--arch/arm/mach-at91/board-stamp9g20.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-at91/board-stamp9g20.c b/arch/arm/mach-at91/board-stamp9g20.c
index ee86f9d7ee72..7d890a065bb9 100644
--- a/arch/arm/mach-at91/board-stamp9g20.c
+++ b/arch/arm/mach-at91/board-stamp9g20.c
@@ -82,7 +82,6 @@ static void __init add_device_nand(void)
82 * MCI (SD/MMC) 82 * MCI (SD/MMC)
83 * det_pin, wp_pin and vcc_pin are not connected 83 * det_pin, wp_pin and vcc_pin are not connected
84 */ 84 */
85#if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE)
86static struct mci_platform_data __initdata mmc_data = { 85static struct mci_platform_data __initdata mmc_data = {
87 .slot[0] = { 86 .slot[0] = {
88 .bus_width = 4, 87 .bus_width = 4,
@@ -90,15 +89,6 @@ static struct mci_platform_data __initdata mmc_data = {
90 .wp_pin = -1, 89 .wp_pin = -1,
91 }, 90 },
92}; 91};
93#else
94static struct at91_mmc_data __initdata mmc_data = {
95 .slot_b = 0,
96 .wire4 = 1,
97 .det_pin = -EINVAL,
98 .wp_pin = -EINVAL,
99 .vcc_pin = -EINVAL,
100};
101#endif
102 92
103 93
104/* 94/*
@@ -222,11 +212,7 @@ void __init stamp9g20_board_init(void)
222 /* NAND */ 212 /* NAND */
223 add_device_nand(); 213 add_device_nand();
224 /* MMC */ 214 /* MMC */
225#if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE)
226 at91_add_device_mci(0, &mmc_data); 215 at91_add_device_mci(0, &mmc_data);
227#else
228 at91_add_device_mmc(0, &mmc_data);
229#endif
230 /* W1 */ 216 /* W1 */
231 add_w1(); 217 add_w1();
232} 218}