From d6df7df7ae5a0f781341134e7cb24e3396f8434a Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Thu, 29 Sep 2022 15:24:20 +0200 Subject: ARM: pxa: remove unused board files The majority of all pxa board files has not been touched in a long time, and no users have spoken up in favor of keeping them around. This leaves only support for the platforms that were already converted to DT, as well as the gumstix and spitz/akita/borzoi machines that work in qemu and can still be converted to DT later. Cc: Ales Bardorfer Cc: Ales Snuparek Cc: Alex Osborne Cc: Alex Osborne Cc: Dirk Opfer Cc: Ian Molton Cc: Lennert Buytenhek Cc: Marek Vasut Cc: Michael Petchkovsky Cc: Nick Bane Cc: Paul Parsons Cc: Philipp Zabel Cc: Richard Purdie Cc: Sergey Lapin Cc: Tomas Cech Acked-by: Dmitry Baryshkov Acked-by: Robert Jarzmik Signed-off-by: Arnd Bergmann --- drivers/pcmcia/pxa2xx_base.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'drivers/pcmcia/pxa2xx_base.c') diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index 0ea41f1411e5..5254028354f4 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c @@ -206,13 +206,7 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, void pxa2xx_configure_sockets(struct device *dev, struct pcmcia_low_level *ops) { - int nr = 1; - - if ((ops->first + ops->nr) > 1 || - machine_is_viper() || machine_is_arcom_zeus()) - nr = 2; - - pxa_smemc_set_pcmcia_socket(nr); + pxa_smemc_set_pcmcia_socket(1); } EXPORT_SYMBOL(pxa2xx_configure_sockets); -- cgit v1.2.3