[linux-yocto] [PATCHv2 2/4] valleyisland-io: add patch to remove SPI dependency on CONFIG_EXPERIMENTAL
Darren Hart
dvhart at linux.intel.com
Wed Dec 11 09:00:22 PST 2013
On Wed, 2013-12-11 at 12:19 +0800, rebecca.swee.fun.chang at intel.com
wrote:
> From: "Chang, Rebecca Swee Fun" <rebecca.swee.fun.chang at intel.com>
>
> [backport of commit 6d1f56aa5149082bb0ce6dd8d47e51a1013a206d]
This one should be applied to standard/base as it is an exact backport
of an upstream commit. No need for this one to be sitting in a feature
patch series. This will be lower maintenance in the long run.
--
Darren
>
> Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang at intel.com>
> ---
> ...spi-remove-depends-on-CONFIG_EXPERIMENTAL.patch | 102 ++++++++++++++++++++
> 1 file changed, 102 insertions(+)
> create mode 100644 meta/cfg/kernel-cache/features/valleyisland-io/0007-drivers-spi-remove-depends-on-CONFIG_EXPERIMENTAL.patch
>
> diff --git a/meta/cfg/kernel-cache/features/valleyisland-io/0007-drivers-spi-remove-depends-on-CONFIG_EXPERIMENTAL.patch b/meta/cfg/kernel-cache/features/valleyisland-io/0007-drivers-spi-remove-depends-on-CONFIG_EXPERIMENTAL.patch
> new file mode 100644
> index 0000000..73cf4f0
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/features/valleyisland-io/0007-drivers-spi-remove-depends-on-CONFIG_EXPERIMENTAL.patch
> @@ -0,0 +1,102 @@
> +drivers/spi: remove depends on CONFIG_EXPERIMENTAL
> +
> +The CONFIG_EXPERIMENTAL config item has not carried much meaning for a
> +while now and is almost always enabled by default. As agreed during the
> +Linux kernel summit, remove it from any "depends on" lines in Kconfigs.
> +
> +CC: Grant Likely <grant.likely at secretlab.ca>
> +Signed-off-by: Kees Cook <keescook at chromium.org>
> +Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> +---
> + drivers/spi/Kconfig | 19 +++++++++----------
> + 1 file changed, 9 insertions(+), 10 deletions(-)
> +
> +diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> +index 2e188e1..3105ea2 100644
> +--- a/drivers/spi/Kconfig
> ++++ b/drivers/spi/Kconfig
> +@@ -88,7 +88,7 @@ config SPI_BFIN_SPORT
> +
> + config SPI_AU1550
> + tristate "Au1550/Au1200/Au1300 SPI Controller"
> +- depends on MIPS_ALCHEMY && EXPERIMENTAL
> ++ depends on MIPS_ALCHEMY
> + select SPI_BITBANG
> + help
> + If you say yes to this option, support will be included for the
> +@@ -188,7 +188,7 @@ config SPI_IMX
> +
> + config SPI_LM70_LLP
> + tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
> +- depends on PARPORT && EXPERIMENTAL
> ++ depends on PARPORT
> + select SPI_BITBANG
> + help
> + This driver supports the NS LM70 LLP Evaluation Board,
> +@@ -204,7 +204,7 @@ config SPI_MPC52xx
> +
> + config SPI_MPC52xx_PSC
> + tristate "Freescale MPC52xx PSC SPI controller"
> +- depends on PPC_MPC52xx && EXPERIMENTAL
> ++ depends on PPC_MPC52xx
> + help
> + This enables using the Freescale MPC52xx Programmable Serial
> + Controller in master SPI mode.
> +@@ -273,8 +273,8 @@ config SPI_OMAP_100K
> + OMAP SPI 100K master controller for omap7xx boards.
> +
> + config SPI_ORION
> +- tristate "Orion SPI master (EXPERIMENTAL)"
> +- depends on PLAT_ORION && EXPERIMENTAL
> ++ tristate "Orion SPI master"
> ++ depends on PLAT_ORION
> + help
> + This enables using the SPI master controller on the Orion chips.
> +
> +@@ -299,7 +299,7 @@ config SPI_PPC4xx
> +
> + config SPI_PXA2XX
> + tristate "PXA2xx SSP SPI master"
> +- depends on (ARCH_PXA || (X86_32 && PCI)) && EXPERIMENTAL
> ++ depends on (ARCH_PXA || (X86_32 && PCI))
> + select PXA_SSP if ARCH_PXA
> + help
> + This enables using a PXA2xx or Sodaville SSP port as a SPI master
> +@@ -317,7 +317,7 @@ config SPI_RSPI
> +
> + config SPI_S3C24XX
> + tristate "Samsung S3C24XX series SPI"
> +- depends on ARCH_S3C24XX && EXPERIMENTAL
> ++ depends on ARCH_S3C24XX
> + select SPI_BITBANG
> + help
> + SPI driver for Samsung S3C24XX series ARM SoCs
> +@@ -432,7 +432,7 @@ config SPI_XCOMM
> +
> + config SPI_XILINX
> + tristate "Xilinx SPI controller common module"
> +- depends on HAS_IOMEM && EXPERIMENTAL
> ++ depends on HAS_IOMEM
> + select SPI_BITBANG
> + help
> + This exposes the SPI controller IP from the Xilinx EDK.
> +@@ -444,7 +444,7 @@ config SPI_XILINX
> +
> + config SPI_NUC900
> + tristate "Nuvoton NUC900 series SPI"
> +- depends on ARCH_W90X900 && EXPERIMENTAL
> ++ depends on ARCH_W90X900
> + select SPI_BITBANG
> + help
> + SPI driver for Nuvoton NUC900 series ARM SoCs
> +@@ -478,7 +478,6 @@ comment "SPI Protocol Masters"
> +
> + config SPI_SPIDEV
> + tristate "User mode SPI device driver support"
> +- depends on EXPERIMENTAL
> + help
> + This supports user mode SPI protocol drivers.
> +
> +--
> +1.7.10.4
> +
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the linux-yocto
mailing list