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/net | |
parent | 3549cc582cd1ab2151f4315f64097aa83444f9db (diff) | |
download | barebox-b3265685f7e4009aa4e3fbe788d80cd6d4e0e227.tar.gz barebox-b3265685f7e4009aa4e3fbe788d80cd6d4e0e227.tar.xz |
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/net')
-rw-r--r-- | drivers/net/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
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 |