mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH 39/47] usb: isp1362: remove blackfin arch glue
Date: Wed, 14 Mar 2018 16:35:52 +0100	[thread overview]
Message-ID: <20180314153603.3127932-40-arnd@arndb.de> (raw)
In-Reply-To: <20180314153603.3127932-1-arnd@arndb.de>

The blackfin architecture is getting removed, and this is the last
remaining architecture specific setting, so the various hacks
can be removed now.

>From all I can tell, there are no remaining in-tree users of the
driver, but it could be used by out-of-tree platform ports.
I've marked the driver as 'depends on COMPILE_TEST', short of
removing it outright.

It was originally written for some ARM PXA machines using the same
chip, but that platform never really worked and the code has been
removed a long time ago.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/usb/host/Kconfig   |  1 +
 drivers/usb/host/isp1362.h | 44 --------------------------------------------
 2 files changed, 1 insertion(+), 44 deletions(-)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 4fcfb3084b36..b85822f0c874 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -360,6 +360,7 @@ config USB_ISP116X_HCD
 config USB_ISP1362_HCD
 	tristate "ISP1362 HCD support"
 	depends on HAS_IOMEM
+	depends on COMPILE_TEST # nothing uses this
 	---help---
 	  Supports the Philips ISP1362 chip as a host controller
 
diff --git a/drivers/usb/host/isp1362.h b/drivers/usb/host/isp1362.h
index da79e36ced89..87c1ac97e538 100644
--- a/drivers/usb/host/isp1362.h
+++ b/drivers/usb/host/isp1362.h
@@ -9,47 +9,6 @@
 /*
  * Platform specific compile time options
  */
-#if defined(CONFIG_BLACKFIN)
-
-#include <linux/io.h>
-#define USE_32BIT		0
-#define MAX_ROOT_PORTS		2
-#define USE_PLATFORM_DELAY	0
-#define USE_NDELAY		1
-
-#define DUMMY_DELAY_ACCESS \
-	do { \
-		bfin_read16(ASYNC_BANK0_BASE); \
-		bfin_read16(ASYNC_BANK0_BASE); \
-		bfin_read16(ASYNC_BANK0_BASE); \
-	} while (0)
-
-#undef insw
-#undef outsw
-
-#define insw  delayed_insw
-#define outsw  delayed_outsw
-
-static inline void delayed_outsw(unsigned int addr, void *buf, int len)
-{
-	unsigned short *bp = (unsigned short *)buf;
-	while (len--) {
-		DUMMY_DELAY_ACCESS;
-		outw(*bp++, addr);
-	}
-}
-
-static inline void delayed_insw(unsigned int addr, void *buf, int len)
-{
-	unsigned short *bp = (unsigned short *)buf;
-	while (len--) {
-		DUMMY_DELAY_ACCESS;
-		*bp++ = inw(addr);
-	}
-}
-
-#else
-
 #define MAX_ROOT_PORTS		2
 
 #define USE_32BIT		0
@@ -60,9 +19,6 @@ static inline void delayed_insw(unsigned int addr, void *buf, int len)
 
 #define DUMMY_DELAY_ACCESS do {} while (0)
 
-#endif
-
-
 /* ------------------------------------------------------------------------- */
 
 #define USB_RESET_WIDTH			50
-- 
2.9.0

  parent reply	other threads:[~2018-03-14 15:35 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 15:35 [PATCH 00/47] arch-removal: device drivers Arnd Bergmann
2018-03-14 15:35 ` [PATCH 01/47] edac: remove tile driver Arnd Bergmann
2018-03-14 15:48   ` Borislav Petkov
2018-03-15 10:03     ` Mauro Carvalho Chehab
2018-03-14 15:35 ` [PATCH 02/47] net: tile: remove ethernet drivers Arnd Bergmann
2018-03-14 15:35 ` [PATCH 03/47] net: adi: remove blackfin " Arnd Bergmann
2018-03-14 15:35 ` [PATCH 04/47] net: 8390: remove m32r specific bits Arnd Bergmann
2018-03-14 15:35 ` [PATCH 05/47] net: remove cris etrax ethernet driver Arnd Bergmann
2018-03-15 12:19   ` Jesper Nilsson
2018-03-14 15:35 ` [PATCH 06/47] net: smsc: remove m32r specific smc91x configuration Arnd Bergmann
2018-03-14 15:45   ` Nicolas Pitre
2018-03-15  4:58     ` Finn Thain
2018-03-15  8:07       ` Arnd Bergmann
2018-03-14 15:35 ` [PATCH 07/47] raid: remove tile specific raid6 implementation Arnd Bergmann
2018-03-14 16:49   ` Ard Biesheuvel
2018-03-14 15:35 ` [PATCH 08/47] rtc: remove tile driver Arnd Bergmann
2018-03-14 18:14   ` Alexandre Belloni
2018-03-14 15:35 ` [PATCH 09/47] rtc: remove bfin driver Arnd Bergmann
2018-03-14 18:14   ` Alexandre Belloni
2018-03-14 15:35 ` [PATCH 10/47] char: remove obsolete ds1302 rtc driver Arnd Bergmann
2018-03-14 16:34   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 11/47] char: remove tile-srom.c Arnd Bergmann
2018-03-14 16:34   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 12/47] char: remove blackfin OTP driver Arnd Bergmann
2018-03-14 16:33   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 13/47] pcmcia: remove m32r drivers Arnd Bergmann
2018-03-14 20:37   ` Dominik Brodowski
2018-03-14 15:35 ` [PATCH 14/47] pcmcia: remove blackfin driver Arnd Bergmann
2018-03-14 15:35 ` [PATCH 15/47] ASoC: remove blackfin drivers Arnd Bergmann
2018-03-14 16:12   ` Mark Brown
2018-03-14 16:26     ` Arnd Bergmann
2018-03-14 16:26     ` Arnd Bergmann
2018-03-14 15:35 ` [PATCH 16/47] video/logo: remove obsolete logo files Arnd Bergmann
2018-03-15 13:35   ` Bartlomiej Zolnierkiewicz
2018-03-14 15:35 ` [PATCH 17/47] fbdev: remove blackfin drivers Arnd Bergmann
2018-03-15 13:37   ` Bartlomiej Zolnierkiewicz
2018-03-14 15:35 ` [PATCH 18/47] fbdev: s1d13xxxfb: remove m32r specific hacks Arnd Bergmann
2018-03-15 13:41   ` Bartlomiej Zolnierkiewicz
2018-03-14 15:35 ` [PATCH 19/47] crypto: remove blackfin CRC driver Arnd Bergmann
2018-03-23 16:02   ` Herbert Xu
2018-03-14 15:35 ` [PATCH 20/47] media: platform: remove blackfin capture driver Arnd Bergmann
2018-03-15 10:03   ` Mauro Carvalho Chehab
2018-03-14 15:35 ` [PATCH 21/47] media: platform: remove m32r specific arv driver Arnd Bergmann
2018-03-15 10:04   ` Mauro Carvalho Chehab
2018-03-14 15:35 ` [PATCH 22/47] cpufreq: remove blackfin driver Arnd Bergmann
2018-03-15  2:47   ` Viresh Kumar
2018-03-14 15:35 ` [PATCH 23/47] cpufreq: remove cris specific drivers Arnd Bergmann
2018-03-15  2:47   ` Viresh Kumar
2018-03-15 12:19   ` Jesper Nilsson
2018-03-14 15:35 ` [PATCH 24/47] gpio: remove etraxfs driver Arnd Bergmann
2018-03-26 16:29   ` Linus Walleij
2018-03-14 15:35 ` [PATCH 25/47] pinctrl: remove adi2/blackfin drivers Arnd Bergmann
2018-03-26 16:30   ` Linus Walleij
2018-03-14 15:35 ` [PATCH 26/47] ata: remove bf54x driver Arnd Bergmann
2018-03-14 15:50   ` Tejun Heo
2018-03-14 15:35 ` [PATCH 27/47] input: keyboard: " Arnd Bergmann
2018-03-14 16:04   ` Dmitry Torokhov
2018-03-14 15:35 ` [PATCH 28/47] input: misc: remove blackfin rotary driver Arnd Bergmann
2018-03-14 16:04   ` Dmitry Torokhov
2018-03-14 15:35 ` [PATCH 29/47] mmc: remove bfin_sdh driver Arnd Bergmann
2018-03-14 17:07   ` Ulf Hansson
2018-03-14 15:35 ` [PATCH 30/47] can: remove bfin_can driver Arnd Bergmann
2018-03-14 15:35 ` [PATCH 31/47] watchdog: remove bfin_wdt driver Arnd Bergmann
2018-03-14 16:06   ` Guenter Roeck
2018-03-14 15:35 ` [PATCH 32/47] mtd: maps: remove bfin-async-flash driver Arnd Bergmann
2018-03-14 15:35 ` [PATCH 33/47] mtd: nand: remove bf5xx_nand driver Arnd Bergmann
2018-03-14 15:35 ` [PATCH 34/47] spi: remove blackfin related host drivers Arnd Bergmann
2018-03-14 16:17   ` Mark Brown
2018-03-14 15:35 ` [PATCH 35/47] i2c: remove bfin-twi driver Arnd Bergmann
2018-03-17 20:19   ` Wolfram Sang
2018-03-14 15:35 ` [PATCH 36/47] pwm: remobe pwm-bfin driver Arnd Bergmann
2018-03-14 16:38   ` Thierry Reding
2018-03-14 16:44     ` Arnd Bergmann
2018-03-14 15:35 ` [PATCH 37/47] usb: host: remove tilegx platform glue Arnd Bergmann
2018-03-14 16:33   ` Greg Kroah-Hartman
2018-03-14 16:44     ` Alan Stern
2018-03-14 15:35 ` [PATCH 38/47] usb: musb: remove blackfin port Arnd Bergmann
2018-03-14 16:33   ` Greg Kroah-Hartman
2018-03-14 17:12   ` Bin Liu
2018-03-15 14:17     ` Arnd Bergmann
2018-03-14 15:35 ` Arnd Bergmann [this message]
2018-03-14 16:33   ` [PATCH 39/47] usb: isp1362: remove blackfin arch glue Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 40/47] serial: remove cris/etrax uart drivers Arnd Bergmann
2018-03-14 16:33   ` Greg Kroah-Hartman
2018-03-15 12:19   ` Jesper Nilsson
2018-03-14 15:35 ` [PATCH 41/47] serial: remove blackfin drivers Arnd Bergmann
2018-03-14 16:33   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 42/47] serial: remove m32r_sio driver Arnd Bergmann
2018-03-14 16:33   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 43/47] serial: remove tile uart driver Arnd Bergmann
2018-03-14 16:32   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 44/47] tty: remove bfin_jtag_comm and hvc_bfin_jtag drivers Arnd Bergmann
2018-03-14 16:32   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 45/47] tty: hvc: remove tile driver Arnd Bergmann
2018-03-14 16:32   ` Greg Kroah-Hartman
2018-03-14 15:35 ` [PATCH 46/47] staging: irda: remove bfin_sir driver Arnd Bergmann
2018-03-14 16:32   ` Greg Kroah-Hartman
2018-03-14 16:35     ` Arnd Bergmann
2018-03-14 15:36 ` [PATCH 47/47] staging: iio: remove iio-trig-bfin-timer driver Arnd Bergmann
2018-03-14 16:32   ` Greg Kroah-Hartman
2018-03-14 17:06     ` Jonathan Cameron
2018-03-14 20:24       ` Arnd Bergmann
2018-03-14 22:45 ` [PATCH 00/47] arch-removal: device drivers Rafael J. Wysocki
2018-03-15  5:32 ` Boris Brezillon
2018-03-15  9:09   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180314153603.3127932-40-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®