linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma i.MX: remove individual SOC dependency
@ 2011-11-22 10:43 Sascha Hauer
  2011-11-28  3:42 ` Vinod Koul
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2011-11-22 10:43 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Vinod Koul <vinod.koul@intel.com>
---
 drivers/dma/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index ab8f469..e514c45 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -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"
-- 
1.7.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] dma i.MX: remove individual SOC dependency
  2011-11-22 10:43 [PATCH] dma i.MX: remove individual SOC dependency Sascha Hauer
@ 2011-11-28  3:42 ` Vinod Koul
  2011-11-28  9:32   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Vinod Koul @ 2011-11-28  3:42 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, 2011-11-22 at 11:43 +0100, Sascha Hauer wrote:
> 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 <s.hauer@pengutronix.de>
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.
    
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
    Cc: Vinod Koul <vinod.koul@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> Cc: Vinod Koul <vinod.koul@intel.com>
> ---
>  drivers/dma/Kconfig |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index ab8f469..e514c45 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -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"


-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] dma i.MX: remove individual SOC dependency
  2011-11-28  3:42 ` Vinod Koul
@ 2011-11-28  9:32   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2011-11-28  9:32 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Vinod,

On Mon, Nov 28, 2011 at 09:12:57AM +0530, Vinod Koul wrote:
> On Tue, 2011-11-22 at 11:43 +0100, Sascha Hauer wrote:
> > 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

-- 
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 |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-28  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-22 10:43 [PATCH] dma i.MX: remove individual SOC dependency Sascha Hauer
2011-11-28  3:42 ` Vinod Koul
2011-11-28  9:32   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).