diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-12-12 05:34:03 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-19 17:52:44 +0100 |
commit | e570fe8ef2734fddc15e086b7bc344e64c907e81 (patch) | |
tree | 7a8ac8c5ac16400606e2c73b21df51d84e259f9b /drivers/mmc | |
parent | 159dad650c92f79386444057323af169d07d59c3 (diff) | |
download | u-boot-e570fe8ef2734fddc15e086b7bc344e64c907e81.tar.gz u-boot-e570fe8ef2734fddc15e086b7bc344e64c907e81.tar.xz u-boot-e570fe8ef2734fddc15e086b7bc344e64c907e81.zip |
PXA: Kill last remnants of set_GPIO_mode function
GPIO configuration shall never be done inside a driver, never.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/pxa_mmc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/pxa_mmc.c b/drivers/mmc/pxa_mmc.c index 2b58a98ac3..80c4445034 100644 --- a/drivers/mmc/pxa_mmc.c +++ b/drivers/mmc/pxa_mmc.c @@ -560,11 +560,6 @@ mmc_legacy_init(int verbose) /* Reset device interface type */ mmc_dev.if_type = IF_TYPE_UNKNOWN; -#if defined(CONFIG_LUBBOCK) || \ - (defined(CONFIG_GUMSTIX) && !defined(CONFIG_CPU_PXA27X)) - set_GPIO_mode(GPIO6_MMCCLK_MD); - set_GPIO_mode(GPIO8_MMCCS0_MD); -#endif #ifdef CONFIG_CPU_MONAHANS /* pxa3xx */ writel(readl(CKENA) | CKENA_12_MMC0 | CKENA_13_MMC1, CKENA); #else /* pxa2xx */ |