diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-04 14:55:29 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:52:51 +0100 |
commit | 0273b4efccd3bc2b2ef5ea9778e71d8efbbb7ac7 (patch) | |
tree | c67c6fb5ff0aa4a0201676374b252ea60475235c /arch/mips/alchemy/xxs1500/board_setup.c | |
parent | 27dd65ac9afabc8e67ab73f7c2f575eddbb47167 (diff) | |
download | op-kernel-dev-0273b4efccd3bc2b2ef5ea9778e71d8efbbb7ac7.zip op-kernel-dev-0273b4efccd3bc2b2ef5ea9778e71d8efbbb7ac7.tar.gz |
MIPS: Alchemy: XXS1500 PCMCIA driver rewrite
Rewritten XXS1500 PCMCIA socket driver, standalone (doesn't depend on
au1000_generic.c) and added carddetect IRQ support.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Linux-PCMCIA <linux-pcmcia@lists.infradead.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/xxs1500/board_setup.c')
-rw-r--r-- | arch/mips/alchemy/xxs1500/board_setup.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/alchemy/xxs1500/board_setup.c b/arch/mips/alchemy/xxs1500/board_setup.c index cad14f8..eb31350 100644 --- a/arch/mips/alchemy/xxs1500/board_setup.c +++ b/arch/mips/alchemy/xxs1500/board_setup.c @@ -69,22 +69,6 @@ void __init board_setup(void) /* Enable DTR = USB power up */ au_writel(0x01, UART3_ADDR + UART_MCR); /* UART_MCR_DTR is 0x01??? */ -#ifdef CONFIG_PCMCIA_XXS1500 - /* GPIO 0, 1, and 4 are inputs */ - alchemy_gpio_direction_input(0); - alchemy_gpio_direction_input(1); - alchemy_gpio_direction_input(4); - - /* GPIO2 208/9/10/11 are inputs */ - alchemy_gpio_direction_input(208); - alchemy_gpio_direction_input(209); - alchemy_gpio_direction_input(210); - alchemy_gpio_direction_input(211); - - /* Turn off power */ - alchemy_gpio_direction_output(214, 0); -#endif - #ifdef CONFIG_PCI #if defined(__MIPSEB__) au_writel(0xf | (2 << 6) | (1 << 4), Au1500_PCI_CFG); |