* [PATCH 1/1] spi: move the depends on SPI to if SPI and keep config alphanum ordered
@ 2012-10-17 12:57 Jean-Christophe PLAGNIOL-VILLARD
2012-10-23 8:40 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-10-17 12:57 UTC (permalink / raw)
To: barebox
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/spi/Kconfig | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index dc17ead..b003290 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -4,10 +4,19 @@ config SPI
bool "Enable SPI driver support"
default y
+if SPI
+
+config DRIVER_SPI_ALTERA
+ bool "Altera SPI Master driver"
+ depends on NIOS2
+
+config DRIVER_SPI_ATMEL
+ bool "Atmel (AT91) SPI Master driver"
+ depends on ARCH_AT91
+
config DRIVER_SPI_IMX
bool "i.MX SPI Master driver"
depends on ARCH_IMX
- depends on SPI
config DRIVER_SPI_IMX_0_0
bool
@@ -24,20 +33,10 @@ config DRIVER_SPI_IMX_2_3
depends on ARCH_IMX51 || ARCH_IMX53 || ARCH_IMX6
default y
-config DRIVER_SPI_ALTERA
- bool "Altera SPI Master driver"
- depends on NIOS2
- depends on SPI
-
-config DRIVER_SPI_ATMEL
- bool "Atmel (AT91) SPI Master driver"
- depends on ARCH_AT91
- depends on SPI
-
-
config DRIVER_SPI_OMAP3
bool "OMAP3 McSPI Master driver"
depends on ARCH_OMAP3
- depends on SPI
+
+endif
endmenu
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] spi: move the depends on SPI to if SPI and keep config alphanum ordered
2012-10-17 12:57 [PATCH 1/1] spi: move the depends on SPI to if SPI and keep config alphanum ordered Jean-Christophe PLAGNIOL-VILLARD
@ 2012-10-23 8:40 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-10-23 8:40 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox
On Wed, Oct 17, 2012 at 02:57:58PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Applied, thanks
Sascha
> ---
> drivers/spi/Kconfig | 25 ++++++++++++-------------
> 1 file changed, 12 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index dc17ead..b003290 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -4,10 +4,19 @@ config SPI
> bool "Enable SPI driver support"
> default y
>
> +if SPI
> +
> +config DRIVER_SPI_ALTERA
> + bool "Altera SPI Master driver"
> + depends on NIOS2
> +
> +config DRIVER_SPI_ATMEL
> + bool "Atmel (AT91) SPI Master driver"
> + depends on ARCH_AT91
> +
> config DRIVER_SPI_IMX
> bool "i.MX SPI Master driver"
> depends on ARCH_IMX
> - depends on SPI
>
> config DRIVER_SPI_IMX_0_0
> bool
> @@ -24,20 +33,10 @@ config DRIVER_SPI_IMX_2_3
> depends on ARCH_IMX51 || ARCH_IMX53 || ARCH_IMX6
> default y
>
> -config DRIVER_SPI_ALTERA
> - bool "Altera SPI Master driver"
> - depends on NIOS2
> - depends on SPI
> -
> -config DRIVER_SPI_ATMEL
> - bool "Atmel (AT91) SPI Master driver"
> - depends on ARCH_AT91
> - depends on SPI
> -
> -
> config DRIVER_SPI_OMAP3
> bool "OMAP3 McSPI Master driver"
> depends on ARCH_OMAP3
> - depends on SPI
> +
> +endif
>
> endmenu
> --
> 1.7.10.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-23 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-17 12:57 [PATCH 1/1] spi: move the depends on SPI to if SPI and keep config alphanum ordered Jean-Christophe PLAGNIOL-VILLARD
2012-10-23 8:40 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox