summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYacine Belkadi2012-04-13 10:45:41 +0200
committerYacine Belkadi2012-06-13 16:28:58 +0200
commit522474fbf85f721768c2948c7b0cf8b9833c3b0d (patch)
treee1e4043c4e25863e3be48bc20ffebdc20a323048
parentfeb61ad879f685b3567afb7545c0fa4be72e8045 (diff)
cleo/linux: add an "AFE" menuconfig, refs #3082
Add a new config option "CONFIG_AFE" for the AFE support and drivers. NB: The "select AFE" line is a temporary hack to let everything compile without the updated defconfig files. It will be removed in a subsequent commit.
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/arch/arm/Kconfig1
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/drivers/afe/Kconfig10
2 files changed, 8 insertions, 3 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/arch/arm/Kconfig b/cleopatre/linux-2.6.25.10-spc300/arch/arm/Kconfig
index ab0872d8a5..ed119aef40 100644
--- a/cleopatre/linux-2.6.25.10-spc300/arch/arm/Kconfig
+++ b/cleopatre/linux-2.6.25.10-spc300/arch/arm/Kconfig
@@ -217,6 +217,7 @@ config ARCH_SPC300
select SPI_SPC300
select GENERIC_GPIO
select HAVE_GPIO_LIB
+ select AFE # This is temporary
help
This enables support for SPiDCOM Technologies spc300 board.
diff --git a/cleopatre/linux-2.6.25.10-spc300/drivers/afe/Kconfig b/cleopatre/linux-2.6.25.10-spc300/drivers/afe/Kconfig
index 3a12fda401..5b7473b76a 100644
--- a/cleopatre/linux-2.6.25.10-spc300/drivers/afe/Kconfig
+++ b/cleopatre/linux-2.6.25.10-spc300/drivers/afe/Kconfig
@@ -2,7 +2,12 @@
# Analog Front End device configuration
#
-menu "Analog Front End devices"
+menuconfig AFE
+ bool "Analog Front End Support"
+ help
+ Provide support for Analog Front Ends (AFE).
+
+if AFE
config AD986X
bool "Support for AD986X Analog Front End"
@@ -11,5 +16,4 @@ config AD986X
This option enables support for the AD986X Analog Font End devices
family. These devices are driven by SPI.
-endmenu
-
+endif # AFE