aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2011-05-19 08:08:28 -0400
committerColin Cross <ccross@android.com>2011-07-12 23:38:56 -0400
commit41cdc62e1245cc0cc603310e085ea9af72029e75 (patch)
treefd2e741a869f854498881324cda7bacfcc011ce3 /arch/arm/mach-tegra
parent13db7a7f41a6ab619ed622d6e7b5bc1285124e1d (diff)
ARM: tegra: paz00: cleanup sdhci ports
The internal storage has no gpios connected to. Also the second port is not connected at all, so remove it from the board file. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/board-paz00-pinmux.c3
-rw-r--r--arch/arm/mach-tegra/board-paz00.c10
-rw-r--r--arch/arm/mach-tegra/board-paz00.h3
3 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm/mach-tegra/board-paz00-pinmux.c b/arch/arm/mach-tegra/board-paz00-pinmux.c
index acee62e26e9b..bdd2627dd87b 100644
--- a/arch/arm/mach-tegra/board-paz00-pinmux.c
+++ b/arch/arm/mach-tegra/board-paz00-pinmux.c
@@ -144,9 +144,6 @@ static struct tegra_gpio_table gpio_table[] = {
144 { .gpio = TEGRA_GPIO_SD1_CD, .enable = true }, 144 { .gpio = TEGRA_GPIO_SD1_CD, .enable = true },
145 { .gpio = TEGRA_GPIO_SD1_WP, .enable = true }, 145 { .gpio = TEGRA_GPIO_SD1_WP, .enable = true },
146 { .gpio = TEGRA_GPIO_SD1_POWER, .enable = true }, 146 { .gpio = TEGRA_GPIO_SD1_POWER, .enable = true },
147 { .gpio = TEGRA_GPIO_SD4_CD, .enable = true },
148 { .gpio = TEGRA_GPIO_SD4_WP, .enable = true },
149 { .gpio = TEGRA_GPIO_SD4_POWER, .enable = true },
150 { .gpio = TEGRA_ULPI_RST, .enable = true }, 147 { .gpio = TEGRA_ULPI_RST, .enable = true },
151}; 148};
152 149
diff --git a/arch/arm/mach-tegra/board-paz00.c b/arch/arm/mach-tegra/board-paz00.c
index e1e19598c648..7fdc40908ca8 100644
--- a/arch/arm/mach-tegra/board-paz00.c
+++ b/arch/arm/mach-tegra/board-paz00.c
@@ -71,7 +71,6 @@ static struct platform_device debug_uart = {
71static struct platform_device *paz00_devices[] __initdata = { 71static struct platform_device *paz00_devices[] __initdata = {
72 &debug_uart, 72 &debug_uart,
73 &tegra_sdhci_device1, 73 &tegra_sdhci_device1,
74 &tegra_sdhci_device2,
75 &tegra_sdhci_device4, 74 &tegra_sdhci_device4,
76}; 75};
77 76
@@ -148,16 +147,10 @@ static struct tegra_sdhci_platform_data sdhci_pdata1 = {
148 .power_gpio = TEGRA_GPIO_SD1_POWER, 147 .power_gpio = TEGRA_GPIO_SD1_POWER,
149}; 148};
150 149
151static struct tegra_sdhci_platform_data sdhci_pdata2 = { 150static struct tegra_sdhci_platform_data sdhci_pdata4 = {
152 .cd_gpio = -1, 151 .cd_gpio = -1,
153 .wp_gpio = -1, 152 .wp_gpio = -1,
154 .power_gpio = -1, 153 .power_gpio = -1,
155};
156
157static struct tegra_sdhci_platform_data sdhci_pdata4 = {
158 .cd_gpio = TEGRA_GPIO_SD4_CD,
159 .wp_gpio = TEGRA_GPIO_SD4_WP,
160 .power_gpio = TEGRA_GPIO_SD4_POWER,
161 .is_8bit = 1, 154 .is_8bit = 1,
162}; 155};
163 156
@@ -168,7 +161,6 @@ static void __init tegra_paz00_init(void)
168 paz00_pinmux_init(); 161 paz00_pinmux_init();
169 162
170 tegra_sdhci_device1.dev.platform_data = &sdhci_pdata1; 163 tegra_sdhci_device1.dev.platform_data = &sdhci_pdata1;
171 tegra_sdhci_device2.dev.platform_data = &sdhci_pdata2;
172 tegra_sdhci_device4.dev.platform_data = &sdhci_pdata4; 164 tegra_sdhci_device4.dev.platform_data = &sdhci_pdata4;
173 165
174 platform_add_devices(paz00_devices, ARRAY_SIZE(paz00_devices)); 166 platform_add_devices(paz00_devices, ARRAY_SIZE(paz00_devices));
diff --git a/arch/arm/mach-tegra/board-paz00.h b/arch/arm/mach-tegra/board-paz00.h
index 6b0b733fe553..d4ff39ddaeb3 100644
--- a/arch/arm/mach-tegra/board-paz00.h
+++ b/arch/arm/mach-tegra/board-paz00.h
@@ -20,9 +20,6 @@
20#define TEGRA_GPIO_SD1_CD TEGRA_GPIO_PV5 20#define TEGRA_GPIO_SD1_CD TEGRA_GPIO_PV5
21#define TEGRA_GPIO_SD1_WP TEGRA_GPIO_PH1 21#define TEGRA_GPIO_SD1_WP TEGRA_GPIO_PH1
22#define TEGRA_GPIO_SD1_POWER TEGRA_GPIO_PT3 22#define TEGRA_GPIO_SD1_POWER TEGRA_GPIO_PT3
23#define TEGRA_GPIO_SD4_CD TEGRA_GPIO_PH2
24#define TEGRA_GPIO_SD4_WP TEGRA_GPIO_PH3
25#define TEGRA_GPIO_SD4_POWER TEGRA_GPIO_PI6
26#define TEGRA_ULPI_RST TEGRA_GPIO_PV0 23#define TEGRA_ULPI_RST TEGRA_GPIO_PV0
27 24
28void paz00_pinmux_init(void); 25void paz00_pinmux_init(void);