summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
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 /arch/openrisc
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 'arch/openrisc')
-rw-r--r--arch/openrisc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index e21010bd60..23c6a71f3a 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -1,5 +1,6 @@
config OPENRISC
bool
+ select HAS_CACHE
select HAVE_CONFIGURABLE_MEMORY_LAYOUT
select HAVE_DEFAULT_ENVIRONMENT_NEW
select GENERIC_FIND_NEXT_BIT