Skip to content

Commit da0a672

Browse files
andy-shevbroonie
authored andcommitted
spi: dw: Remove not-going-to-be-supported code for Baikal SoC
As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code. Link: https://lore.kernel.org/lkml/22b92ddf-6321-41b5-8073-f9c7064d3432@infradead.org/ [1] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260127210541.4068379-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 65ce115 commit da0a672

3 files changed

Lines changed: 0 additions & 359 deletions

File tree

drivers/spi/Kconfig

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -385,33 +385,6 @@ config SPI_DW_MMIO
385385
tristate "Memory-mapped io interface driver for DW SPI core"
386386
depends on HAS_IOMEM
387387

388-
config SPI_DW_BT1
389-
tristate "Baikal-T1 SPI driver for DW SPI core"
390-
depends on MIPS_BAIKAL_T1 || COMPILE_TEST
391-
select MULTIPLEXER
392-
help
393-
Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI
394-
controllers. Two of them are pretty much normal: with IRQ, DMA,
395-
FIFOs of 64 words depth, 4x CSs, but the third one as being a
396-
part of the Baikal-T1 System Boot Controller has got a very
397-
limited resources: no IRQ, no DMA, only a single native
398-
chip-select and Tx/Rx FIFO with just 8 words depth available.
399-
The later one is normally connected to an external SPI-nor flash
400-
of 128Mb (in general can be of bigger size).
401-
402-
config SPI_DW_BT1_DIRMAP
403-
bool "Directly mapped Baikal-T1 Boot SPI flash support"
404-
depends on SPI_DW_BT1
405-
help
406-
Directly mapped SPI flash memory is an interface specific to the
407-
Baikal-T1 System Boot Controller. It is a 16MB MMIO region, which
408-
can be used to access a peripheral memory device just by
409-
reading/writing data from/to it. Note that the system APB bus
410-
will stall during each IO from/to the dirmap region until the
411-
operation is finished. So try not to use it concurrently with
412-
time-critical tasks (like the SPI memory operations implemented
413-
in this driver).
414-
415388
endif
416389

417390
config SPI_DLN2

drivers/spi/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ obj-$(CONFIG_SPI_DLN2) += spi-dln2.o
5454
obj-$(CONFIG_SPI_DESIGNWARE) += spi-dw.o
5555
spi-dw-y := spi-dw-core.o
5656
spi-dw-$(CONFIG_SPI_DW_DMA) += spi-dw-dma.o
57-
obj-$(CONFIG_SPI_DW_BT1) += spi-dw-bt1.o
5857
obj-$(CONFIG_SPI_DW_MMIO) += spi-dw-mmio.o
5958
obj-$(CONFIG_SPI_DW_PCI) += spi-dw-pci.o
6059
obj-$(CONFIG_SPI_EP93XX) += spi-ep93xx.o

drivers/spi/spi-dw-bt1.c

Lines changed: 0 additions & 331 deletions
This file was deleted.

0 commit comments

Comments
 (0)