Skip to contentSkip to conversation

dma i.MX: remove individual SOC dependency

PATCH New Sascha Hauer 2 participants 3 messages Nov 22, 2011 – Nov 28, 2011 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma i.MX: remove individual SOC dependency

The individual SoC dependency in Kconfig hardly scales anymore. Instead of having such a fine grained dependency just depend on ARCH_MXC and risk that the uninformed user has to look in the help text to figure out which driver is the correct one.

---
 drivers/dma/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/dma/Kconfig +3 -3
index ab8f469..e514c45 100644
@@ -124,7 +124,7 @@ config MV_XOR
 
 config MX3_IPU
 	bool "MX3x Image Processing Unit support"
-	depends on ARCH_MX3
+	depends on ARCH_MXC
 	select DMA_ENGINE
 	default y
 	help
@@ -216,11 +216,11 @@ config PCH_DMA
 
 config IMX_SDMA
 	tristate "i.MX SDMA support"
-	depends on ARCH_MX25 || ARCH_MX3 || ARCH_MX5
+	depends on ARCH_MXC
 	select DMA_ENGINE
 	help
 	  Support the i.MX SDMA engine. This engine is integrated into
-	  Freescale i.MX25/31/35/51 chips.
+	  Freescale i.MX25/31/35/51/53 chips.
 
 config IMX_DMA
 	tristate "i.MX DMA support"
Signature · 1 line
1.7.7.1
#1 lore raw

PATCH 1/1 dma i.MX: remove individual SOC dependency

Quoted 4 lines · Sascha Hauer

The individual SoC dependency in Kconfig hardly scales anymore. Instead of having such a fine grained dependency just depend on ARCH_MXC and risk that the uninformed user has to look in the help text to figure out which driver is the correct one.

Not sure why it was resent but this already in my tree

commit 8e2d41f8c85613a3739e8b2600ac2c66c08422f3

Author: Sascha Hauer <[email protected]>
Date:   Wed Aug 24 08:41:09 2011 +0200

dma i.MX: remove individual SOC dependency

The individual SoC dependency in Kconfig hardly scales anymore. Instead of having such a fine grained dependency just depend on ARCH_MXC and risk that the uninformed user has to look in the help text to figure out which driver is the correct one.

Quoted 34 lines
---
 drivers/dma/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/dma/Kconfig +3 -3
index ab8f469..e514c45 100644
@@ -124,7 +124,7 @@ config MV_XOR
 
 config MX3_IPU
 	bool "MX3x Image Processing Unit support"
-	depends on ARCH_MX3
+	depends on ARCH_MXC
 	select DMA_ENGINE
 	default y
 	help
@@ -216,11 +216,11 @@ config PCH_DMA
 
 config IMX_SDMA
 	tristate "i.MX SDMA support"
-	depends on ARCH_MX25 || ARCH_MX3 || ARCH_MX5
+	depends on ARCH_MXC
 	select DMA_ENGINE
 	help
 	  Support the i.MX SDMA engine. This engine is integrated into
-	  Freescale i.MX25/31/35/51 chips.
+	  Freescale i.MX25/31/35/51/53 chips.
 
 config IMX_DMA
 	tristate "i.MX DMA support"
Signature · 1 line
~Vinod
#2 lore raw

PATCH 1/1 dma i.MX: remove individual SOC dependency

Hi Vinod,

Quoted 6 lines · Vinod Koul
Quoted 4 lines · Sascha Hauer

The individual SoC dependency in Kconfig hardly scales anymore. Instead of having such a fine grained dependency just depend on ARCH_MXC and risk that the uninformed user has to look in the help text to figure out which driver is the correct one.

Not sure why it was resent but this already in my tree

I thought you missed it. If you already have it everything is fine.

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 |