Skip to contentSkip to conversation

mmc: remove imxmmc driver

PATCH Superseded Sascha Hauer 2 participants 3 messages Apr 11, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sascha Hauer

author maintainer
#0 lore raw

PATCH 1/1 mmc: remove imxmmc driver

This driver is broken since 2.6.31 when the traditional i.MX1 support was removed.

In theory the i.MX1 mmc controller can be supported by the mxcmmc driver which basically is the same hardware. However, the i.MX1 controller has severe bugs which made several workarounds necessary which resulted in a different driver structure. At that time it seemed easier to write a second driver to support hardware without bugs.

As noone cared for the i.MX1 driver for a long time and it does not compile, remove it.

---
 drivers/mmc/host/Kconfig  |   10 -
 drivers/mmc/host/Makefile |    1 -
 drivers/mmc/host/imxmmc.c | 1169 ---------------------------------------------
 3 files changed, 1180 deletions(-)
 delete mode 100644 drivers/mmc/host/imxmmc.c
drivers/mmc/host/Kconfig +0 -10
index 2bc06e7..9f1f5e2 100644
@@ -307,16 +307,6 @@ config MMC_ATMELMCI_DMA
 
 	  If unsure, say N.
 
-config MMC_IMX
-	tristate "Motorola i.MX Multimedia Card Interface support"
-	depends on ARCH_MX1
-	help
-	  This selects the Motorola i.MX Multimedia card Interface.
-	  If you have a i.MX platform with a Multimedia Card slot,
-	  say Y or M here.
-
-	  If unsure, say N.
-
 config MMC_MSM
 	tristate "Qualcomm SDCC Controller Support"
 	depends on MMC && ARCH_MSM
drivers/mmc/host/Makefile +0 -1
index 3e7e26d..8922b06 100644
@@ -4,7 +4,6 @@
 
 obj-$(CONFIG_MMC_ARMMMCI)	+= mmci.o
 obj-$(CONFIG_MMC_PXA)		+= pxamci.o
-obj-$(CONFIG_MMC_IMX)		+= imxmmc.o
 obj-$(CONFIG_MMC_MXC)		+= mxcmmc.o
 obj-$(CONFIG_MMC_MXS)		+= mxs-mmc.o
 obj-$(CONFIG_MMC_SDHCI)		+= sdhci.o
drivers/mmc/host/imxmmc.c deleted +0 -1169

1,169 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 mmc: remove imxmmc driver

Hi Sascha,

Quoted 12 lines · Sascha Hauer

This driver is broken since 2.6.31 when the traditional i.MX1 support was removed.

In theory the i.MX1 mmc controller can be supported by the mxcmmc driver which basically is the same hardware. However, the i.MX1 controller has severe bugs which made several workarounds necessary which resulted in a different driver structure. At that time it seemed easier to write a second driver to support hardware without bugs.

As noone cared for the i.MX1 driver for a long time and it does not compile, remove it.

Quoted 7 lines
---
 drivers/mmc/host/Kconfig  |   10 -
 drivers/mmc/host/Makefile |    1 -
 drivers/mmc/host/imxmmc.c | 1169 ---------------------------------------------
 3 files changed, 1180 deletions(-)
 delete mode 100644 drivers/mmc/host/imxmmc.c

Looks good, but you missed drivers/mmc/host/imxmmc.h.

Thanks,

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
author maintainer
#2 lore raw

PATCH 1/1 mmc: remove imxmmc driver

Quoted 23 lines · Chris Ball

Hi Sascha,

Quoted 12 lines · Sascha Hauer

This driver is broken since 2.6.31 when the traditional i.MX1 support was removed.

In theory the i.MX1 mmc controller can be supported by the mxcmmc driver which basically is the same hardware. However, the i.MX1 controller has severe bugs which made several workarounds necessary which resulted in a different driver structure. At that time it seemed easier to write a second driver to support hardware without bugs.

As noone cared for the i.MX1 driver for a long time and it does not compile, remove it.

Quoted 7 lines
---
 drivers/mmc/host/Kconfig  |   10 -
 drivers/mmc/host/Makefile |    1 -
 drivers/mmc/host/imxmmc.c | 1169 ---------------------------------------------
 3 files changed, 1180 deletions(-)
 delete mode 100644 drivers/mmc/host/imxmmc.c
Quoted 1 line

Looks good, but you missed drivers/mmc/host/imxmmc.h.

Damned, there was a time when drivers had its own header files ;) Just resent.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |