summaryrefslogtreecommitdiff
path: root/src/arch/mips/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-02-10 16:29:06 +0100
committerMartin Roth <martinroth@google.com>2019-07-07 20:59:55 +0000
commit142258c2f6cbfd76caf749395e666de0b0595318 (patch)
tree922d6c8c43d127e28802ba47f08a77a6c251eb0e /src/arch/mips/Kconfig
parent2d58bf6a037c8ad474db4a902e799bee637e7ec0 (diff)
downloadcoreboot-142258c2f6cbfd76caf749395e666de0b0595318.tar.xz
arch/mips: Make MIPS specific options depend on ARCH_MIPS
Also don't define the default as this result in spurious lines in the .config. TEST: The generated config.h remain exactly the same for all boards. Change-Id: I7f35a5a9dcbc7b25b7806056e2b8e822fa94e428 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31312 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/arch/mips/Kconfig')
-rw-r--r--src/arch/mips/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/mips/Kconfig b/src/arch/mips/Kconfig
index 9e51d9cf13..b8570c1c5d 100644
--- a/src/arch/mips/Kconfig
+++ b/src/arch/mips/Kconfig
@@ -16,12 +16,12 @@
config ARCH_MIPS
bool
- default n
+
+if ARCH_MIPS
config ARCH_BOOTBLOCK_MIPS
bool
default n
- select ARCH_MIPS
select BOOTBLOCK_CUSTOM
select C_ENVIRONMENT_BOOTBLOCK
@@ -36,3 +36,5 @@ config ARCH_ROMSTAGE_MIPS
config ARCH_RAMSTAGE_MIPS
bool
default n
+
+endif # if ARCH_MIPS