]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: paz00: cleanup sdhci ports
authorMarc Dietrich <marvin24@gmx.de>
Thu, 19 May 2011 12:08:28 +0000 (14:08 +0200)
committerColin Cross <ccross@android.com>
Wed, 13 Jul 2011 03:38:56 +0000 (20:38 -0700)
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>
arch/arm/mach-tegra/board-paz00-pinmux.c
arch/arm/mach-tegra/board-paz00.c
arch/arm/mach-tegra/board-paz00.h

index acee62e26e9b5f1ff01fbbf67e7e6da9c1e1974d..bdd2627dd87ba0acdde5eb29b254274808f09499 100644 (file)
@@ -144,9 +144,6 @@ static struct tegra_gpio_table gpio_table[] = {
        { .gpio = TEGRA_GPIO_SD1_CD,    .enable = true },
        { .gpio = TEGRA_GPIO_SD1_WP,    .enable = true },
        { .gpio = TEGRA_GPIO_SD1_POWER, .enable = true },
-       { .gpio = TEGRA_GPIO_SD4_CD,    .enable = true },
-       { .gpio = TEGRA_GPIO_SD4_WP,    .enable = true },
-       { .gpio = TEGRA_GPIO_SD4_POWER, .enable = true },
        { .gpio = TEGRA_ULPI_RST,       .enable = true },
 };
 
index e1e19598c648cb07cedd22f007e6beee2340d188..7fdc40908ca80158a0f2017894d0d4a2fcb46ea1 100644 (file)
@@ -71,7 +71,6 @@ static struct platform_device debug_uart = {
 static struct platform_device *paz00_devices[] __initdata = {
        &debug_uart,
        &tegra_sdhci_device1,
-       &tegra_sdhci_device2,
        &tegra_sdhci_device4,
 };
 
@@ -148,16 +147,10 @@ static struct tegra_sdhci_platform_data sdhci_pdata1 = {
        .power_gpio     = TEGRA_GPIO_SD1_POWER,
 };
 
-static struct tegra_sdhci_platform_data sdhci_pdata2 = {
+static struct tegra_sdhci_platform_data sdhci_pdata4 = {
        .cd_gpio        = -1,
        .wp_gpio        = -1,
        .power_gpio     = -1,
-};
-
-static struct tegra_sdhci_platform_data sdhci_pdata4 = {
-       .cd_gpio        = TEGRA_GPIO_SD4_CD,
-       .wp_gpio        = TEGRA_GPIO_SD4_WP,
-       .power_gpio     = TEGRA_GPIO_SD4_POWER,
        .is_8bit        = 1,
 };
 
@@ -168,7 +161,6 @@ static void __init tegra_paz00_init(void)
        paz00_pinmux_init();
 
        tegra_sdhci_device1.dev.platform_data = &sdhci_pdata1;
-       tegra_sdhci_device2.dev.platform_data = &sdhci_pdata2;
        tegra_sdhci_device4.dev.platform_data = &sdhci_pdata4;
 
        platform_add_devices(paz00_devices, ARRAY_SIZE(paz00_devices));
index 6b0b733fe553a610f6a50cd4e0cc3a1aab10483e..d4ff39ddaeb3e4fffbbdf62e2183e68a2013f9de 100644 (file)
@@ -20,9 +20,6 @@
 #define TEGRA_GPIO_SD1_CD              TEGRA_GPIO_PV5
 #define TEGRA_GPIO_SD1_WP              TEGRA_GPIO_PH1
 #define TEGRA_GPIO_SD1_POWER           TEGRA_GPIO_PT3
-#define TEGRA_GPIO_SD4_CD              TEGRA_GPIO_PH2
-#define TEGRA_GPIO_SD4_WP              TEGRA_GPIO_PH3
-#define TEGRA_GPIO_SD4_POWER           TEGRA_GPIO_PI6
 #define TEGRA_ULPI_RST                 TEGRA_GPIO_PV0
 
 void paz00_pinmux_init(void);