diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2014-07-22 09:57:21 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-22 21:29:57 +0200 |
commit | b3265685f7e4009aa4e3fbe788d80cd6d4e0e227 (patch) | |
tree | 3a93df817c3bd519d024888008c73ff184590c97 /drivers | |
parent | 3549cc582cd1ab2151f4315f64097aa83444f9db (diff) | |
download | barebox-b3265685f7e4009aa4e3fbe788d80cd6d4e0e227.tar.gz |
sandbox: allow "make ARCH=sandbox allyesconfig"
Compiling the tree with allyesconfig is helpful because different
compilers (gcc, clang) or static checkers (e.g. clang's scan-build)
can then process and check more code.
This patch introduces two new configuration symbols that Kconfig files
can depend on. That way, code that is only working where a cache or DMA
implementation exists can be opted out.
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/Kconfig | 1 | ||||
-rw-r--r-- | drivers/input/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/Kconfig | 4 | ||||
-rw-r--r-- | drivers/regulator/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/host/Kconfig | 1 | ||||
-rw-r--r-- | drivers/video/imx-ipu-v3/Kconfig | 1 |
6 files changed, 9 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 9830cc07a8..7850e4a9c9 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -34,6 +34,7 @@ config DISK_ATA config DISK_AHCI bool "AHCI support" + depends on HAS_DMA select DISK_ATA config DISK_AHCI_IMX diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 3d9016b3fa..07545ed310 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -32,7 +32,7 @@ config KEYBOARD_IMX_KEYPAD config KEYBOARD_QT1070 tristate "Atmel AT42QT1070 Touch Sensor Chip" - depends on I2C + depends on I2C && GENERIC_GPIO select POLLER help Say Y here if you want to use Atmel AT42QT1070 QTouch diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 5f0c41b151..ffce40a506 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -34,6 +34,7 @@ config DRIVER_NET_AR231X config DRIVER_NET_ARC_EMAC bool "ARC Ethernet MAC driver" + depends on HAS_DMA select PHYLIB help This option enables support for the ARC EMAC ethernet @@ -46,6 +47,7 @@ config DRIVER_NET_AT91_ETHER config DRIVER_NET_CALXEDA_XGMAC bool "Calxeda xgmac" + depends on HAS_DMA config DRIVER_NET_CS8900 bool "cs8900 ethernet driver" @@ -63,6 +65,7 @@ config DRIVER_NET_DAVINCI_EMAC config DRIVER_NET_DESIGNWARE bool "Designware Universal MAC ethernet driver" + depends on HAS_DMA select PHYLIB help This option enables support for the Synopsys @@ -94,6 +97,7 @@ config DRIVER_NET_EP93XX config DRIVER_NET_ETHOC bool "OpenCores ethernet MAC driver" + depends on HAS_CACHE select PHYLIB help This option enables support for the OpenCores 10/100 Mbps diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 55f87a45ba..493b18a898 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -6,6 +6,7 @@ if REGULATOR config REGULATOR_FIXED bool "fixed/gpio regulator" + depends on GENERIC_GPIO help This enables a simple fixed regulator. It is used for regulators which are not software controllable or controllable via gpio. diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 5a3ce40705..a69e758910 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -1,5 +1,6 @@ config USB_EHCI bool "EHCI driver" + depends on HAS_DMA config USB_EHCI_OMAP depends on ARCH_OMAP3 diff --git a/drivers/video/imx-ipu-v3/Kconfig b/drivers/video/imx-ipu-v3/Kconfig index 3d656e5193..368167bfb6 100644 --- a/drivers/video/imx-ipu-v3/Kconfig +++ b/drivers/video/imx-ipu-v3/Kconfig @@ -1,5 +1,6 @@ config DRIVER_VIDEO_IMX_IPUV3 bool "i.MX IPUv3 driver" + depends on ARCH_IMX help Support the IPUv3 found on Freescale i.MX51/53/6 SoCs |