aboutsummaryrefslogtreecommitdiff
path: root/arch/Config.in.xtensa
diff options
context:
space:
mode:
authorGravatar Guido Martínez <guido@vanguardiasur.com.ar>2015-06-03 19:34:03 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-09 22:49:39 +0200
commit29563047e074a7c0b73c9e6b629d08bac1e07cb5 (patch)
treea2bc149c8bfb3a514c99f44940c2ea35cffda9fc /arch/Config.in.xtensa
parent80b91a21d3707dfaa5d26e9e3a08d439f80be16e (diff)
downloadbuildroot-29563047e074a7c0b73c9e6b629d08bac1e07cb5.tar.gz
buildroot-29563047e074a7c0b73c9e6b629d08bac1e07cb5.tar.bz2
arch: tidy up mmu config
Instead of blacklisting which architectures support MMUs (mandatorily or optionally), introduce two Kconfig options that are selected by each architecture in each case. This simplifies the logic in BR2_USE_MMU. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch/Config.in.xtensa')
-rw-r--r--arch/Config.in.xtensa2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/Config.in.xtensa b/arch/Config.in.xtensa
index 068731973f..a0e18f1e66 100644
--- a/arch/Config.in.xtensa
+++ b/arch/Config.in.xtensa
@@ -3,8 +3,10 @@ choice
depends on BR2_xtensa
default BR2_xtensa_fsf
config BR2_XTENSA_CUSTOM
+ select BR2_ARCH_HAS_MMU_OPTIONAL
bool "Custom Xtensa processor configuration"
config BR2_xtensa_fsf
+ select BR2_ARCH_HAS_MMU_MANDATORY
bool "fsf - Default configuration"
endchoice