summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-07-22 09:57:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-22 21:29:57 +0200
commitb3265685f7e4009aa4e3fbe788d80cd6d4e0e227 (patch)
tree3a93df817c3bd519d024888008c73ff184590c97 /drivers/ata
parent3549cc582cd1ab2151f4315f64097aa83444f9db (diff)
downloadbarebox-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/ata')
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 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