[10/21] mmc: remove s3cmci driver

Message ID 20221021203329.4143397-10-arnd@kernel.org
State New
Headers
Series ARM: s3c: clean out obsolete platforms |

Commit Message

Arnd Bergmann Oct. 21, 2022, 8:27 p.m. UTC
  From: Arnd Bergmann <arnd@arndb.de>

The s3c24xx platform is gone, so this driver can be removed as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 MAINTAINERS                              |    6 -
 drivers/mmc/host/Kconfig                 |   43 -
 drivers/mmc/host/Makefile                |    1 -
 drivers/mmc/host/s3cmci.c                | 1777 ----------------------
 drivers/mmc/host/s3cmci.h                |   75 -
 include/linux/platform_data/mmc-s3cmci.h |   51 -
 6 files changed, 1953 deletions(-)
 delete mode 100644 drivers/mmc/host/s3cmci.c
 delete mode 100644 drivers/mmc/host/s3cmci.h
 delete mode 100644 include/linux/platform_data/mmc-s3cmci.h
  

Comments

Krzysztof Kozlowski Oct. 24, 2022, 12:35 p.m. UTC | #1
On 21/10/2022 16:27, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The s3c24xx platform is gone, so this driver can be removed as well.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  
Ulf Hansson Oct. 24, 2022, 4:52 p.m. UTC | #2
On Fri, 21 Oct 2022 at 22:45, Arnd Bergmann <arnd@kernel.org> wrote:
>
> From: Arnd Bergmann <arnd@arndb.de>
>
> The s3c24xx platform is gone, so this driver can be removed as well.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

Kind regards
Uffe


> ---
>  MAINTAINERS                              |    6 -
>  drivers/mmc/host/Kconfig                 |   43 -
>  drivers/mmc/host/Makefile                |    1 -
>  drivers/mmc/host/s3cmci.c                | 1777 ----------------------
>  drivers/mmc/host/s3cmci.h                |   75 -
>  include/linux/platform_data/mmc-s3cmci.h |   51 -
>  6 files changed, 1953 deletions(-)
>  delete mode 100644 drivers/mmc/host/s3cmci.c
>  delete mode 100644 drivers/mmc/host/s3cmci.h
>  delete mode 100644 include/linux/platform_data/mmc-s3cmci.h
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 2caf42b0328a..503ebd9800db 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -17920,12 +17920,6 @@ S:     Supported
>  W:     http://www.ibm.com/developerworks/linux/linux390/
>  F:     drivers/s390/scsi/zfcp_*
>
> -S3C24XX SD/MMC Driver
> -M:     Ben Dooks <ben-linux@fluff.org>
> -L:     linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> -S:     Supported
> -F:     drivers/mmc/host/s3cmci.*
> -
>  SAA6588 RDS RECEIVER DRIVER
>  M:     Hans Verkuil <hverkuil@xs4all.nl>
>  L:     linux-media@vger.kernel.org
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 79d8ddf1f616..75e8c364243d 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -619,49 +619,6 @@ config MMC_SPI
>
>           If unsure, or if your system has no SPI master driver, say N.
>
> -config MMC_S3C
> -       tristate "Samsung S3C SD/MMC Card Interface support"
> -       depends on ARCH_S3C24XX || COMPILE_TEST
> -       depends on S3C24XX_DMAC || COMPILE_TEST
> -       help
> -         This selects a driver for the MCI interface found in
> -         Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
> -         If you have a board based on one of those and a MMC/SD
> -         slot, say Y or M here.
> -
> -         If unsure, say N.
> -
> -config MMC_S3C_HW_SDIO_IRQ
> -       bool "Hardware support for SDIO IRQ"
> -       depends on MMC_S3C
> -       help
> -         Enable the hardware support for SDIO interrupts instead of using
> -         the generic polling code.
> -
> -choice
> -       prompt "Samsung S3C SD/MMC transfer code"
> -       depends on MMC_S3C
> -
> -config MMC_S3C_PIO
> -       bool "Use PIO transfers only"
> -       help
> -         Use PIO to transfer data between memory and the hardware.
> -
> -         PIO is slower than DMA as it requires CPU instructions to
> -         move the data. This has been the traditional default for
> -         the S3C MCI driver.
> -
> -config MMC_S3C_DMA
> -       bool "Use DMA transfers only"
> -       help
> -         Use DMA to transfer data between memory and the hardware.
> -
> -         Currently, the DMA support in this driver seems to not be
> -         working properly and needs to be debugged before this
> -         option is useful.
> -
> -endchoice
> -
>  config MMC_SDRICOH_CS
>         tristate "MMC/SD driver for Ricoh Bay1Controllers"
>         depends on PCI && PCMCIA
> diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
> index 0baeb0b004f7..885e19e21e75 100644
> --- a/drivers/mmc/host/Makefile
> +++ b/drivers/mmc/host/Makefile
> @@ -34,7 +34,6 @@ obj-$(CONFIG_MMC_MVSDIO)      += mvsdio.o
>  obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
>  obj-$(CONFIG_MMC_SPI)          += mmc_spi.o
>  obj-$(CONFIG_MMC_SPI)          += of_mmc_spi.o
> -obj-$(CONFIG_MMC_S3C)          += s3cmci.o
>  obj-$(CONFIG_MMC_SDRICOH_CS)   += sdricoh_cs.o
>  obj-$(CONFIG_MMC_TMIO_CORE)    += tmio_mmc_core.o
>  obj-$(CONFIG_MMC_SDHI)         += renesas_sdhi_core.o
> diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
> deleted file mode 100644
> index 8d5929a32d34..000000000000
> diff --git a/drivers/mmc/host/s3cmci.h b/drivers/mmc/host/s3cmci.h
> deleted file mode 100644
> index 8b65d7ad9f97..000000000000
> diff --git a/include/linux/platform_data/mmc-s3cmci.h b/include/linux/platform_data/mmc-s3cmci.h
> deleted file mode 100644
> index bacb86db3112..000000000000
> --
> 2.29.2
>
  

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 2caf42b0328a..503ebd9800db 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -17920,12 +17920,6 @@  S:	Supported
 W:	http://www.ibm.com/developerworks/linux/linux390/
 F:	drivers/s390/scsi/zfcp_*
 
-S3C24XX SD/MMC Driver
-M:	Ben Dooks <ben-linux@fluff.org>
-L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
-S:	Supported
-F:	drivers/mmc/host/s3cmci.*
-
 SAA6588 RDS RECEIVER DRIVER
 M:	Hans Verkuil <hverkuil@xs4all.nl>
 L:	linux-media@vger.kernel.org
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 79d8ddf1f616..75e8c364243d 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -619,49 +619,6 @@  config MMC_SPI
 
 	  If unsure, or if your system has no SPI master driver, say N.
 
-config MMC_S3C
-	tristate "Samsung S3C SD/MMC Card Interface support"
-	depends on ARCH_S3C24XX || COMPILE_TEST
-	depends on S3C24XX_DMAC || COMPILE_TEST
-	help
-	  This selects a driver for the MCI interface found in
-	  Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
-	  If you have a board based on one of those and a MMC/SD
-	  slot, say Y or M here.
-
-	  If unsure, say N.
-
-config MMC_S3C_HW_SDIO_IRQ
-	bool "Hardware support for SDIO IRQ"
-	depends on MMC_S3C
-	help
-	  Enable the hardware support for SDIO interrupts instead of using
-	  the generic polling code.
-
-choice
-	prompt "Samsung S3C SD/MMC transfer code"
-	depends on MMC_S3C
-
-config MMC_S3C_PIO
-	bool "Use PIO transfers only"
-	help
-	  Use PIO to transfer data between memory and the hardware.
-
-	  PIO is slower than DMA as it requires CPU instructions to
-	  move the data. This has been the traditional default for
-	  the S3C MCI driver.
-
-config MMC_S3C_DMA
-	bool "Use DMA transfers only"
-	help
-	  Use DMA to transfer data between memory and the hardware.
-
-	  Currently, the DMA support in this driver seems to not be
-	  working properly and needs to be debugged before this
-	  option is useful.
-
-endchoice
-
 config MMC_SDRICOH_CS
 	tristate "MMC/SD driver for Ricoh Bay1Controllers"
 	depends on PCI && PCMCIA
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 0baeb0b004f7..885e19e21e75 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -34,7 +34,6 @@  obj-$(CONFIG_MMC_MVSDIO)	+= mvsdio.o
 obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
 obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
 obj-$(CONFIG_MMC_SPI)		+= of_mmc_spi.o
-obj-$(CONFIG_MMC_S3C)   	+= s3cmci.o
 obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
 obj-$(CONFIG_MMC_TMIO_CORE)	+= tmio_mmc_core.o
 obj-$(CONFIG_MMC_SDHI)		+= renesas_sdhi_core.o
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
deleted file mode 100644
index 8d5929a32d34..000000000000
diff --git a/drivers/mmc/host/s3cmci.h b/drivers/mmc/host/s3cmci.h
deleted file mode 100644
index 8b65d7ad9f97..000000000000
diff --git a/include/linux/platform_data/mmc-s3cmci.h b/include/linux/platform_data/mmc-s3cmci.h
deleted file mode 100644
index bacb86db3112..000000000000