[PATCH 11/47] char: remove tile-srom.c

From: Arnd Bergmann
Date: Wed Mar 14 2018 - 11:40:40 EST


The tile architecture is being removed, so we no longer need this driver.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
drivers/char/Kconfig | 11 --
drivers/char/Makefile | 1 -
drivers/char/tile-srom.c | 475 -----------------------------------------------
3 files changed, 487 deletions(-)
delete mode 100644 drivers/char/tile-srom.c

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 3f9561186ad7..c9c3c2028b0b 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -566,17 +566,6 @@ config DEVPORT

source "drivers/s390/char/Kconfig"

-config TILE_SROM
- tristate "Character-device access via hypervisor to the Tilera SPI ROM"
- depends on TILE
- default y
- ---help---
- This device provides character-level read-write access
- to the SROM, typically via the "0", "1", and "2" devices
- in /dev/srom/. The Tilera hypervisor makes the flash
- device appear much like a simple EEPROM, and knows
- how to partition a single ROM for multiple purposes.
-
source "drivers/char/xillybus/Kconfig"

endmenu
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index 4a34a71fe3d7..49b7bd84fa20 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -56,6 +56,5 @@ obj-$(CONFIG_PS3_FLASH) += ps3flash.o
obj-$(CONFIG_JS_RTC) += js-rtc.o
js-rtc-y = rtc.o

-obj-$(CONFIG_TILE_SROM) += tile-srom.o
obj-$(CONFIG_XILLYBUS) += xillybus/
obj-$(CONFIG_POWERNV_OP_PANEL) += powernv-op-panel.o
diff --git a/drivers/char/tile-srom.c b/drivers/char/tile-srom.c
deleted file mode 100644
index 3d4cca64b2d4..000000000000
--
2.9.0