- Fix shortcoming in Kconfig when handling multiple "choice"s
- move some variables where they belong
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6186 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/Kconfig b/src/Kconfig
index 4c1fcf4..ca28feb 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -101,7 +101,16 @@
endmenu
source src/mainboard/Kconfig
+
+# This option is used to set the architecture of a mainboard to X86.
+# It is usually set in mainboard/*/Kconfig.
+config ARCH_X86
+ bool
+ default n
+
+if ARCH_X86
source src/arch/x86/Kconfig
+endif
menu "Chipset"
@@ -133,15 +142,6 @@
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x0
-
-config CPU_ADDR_BITS
- int
- default 36
-
-config LOGICAL_CPUS
- bool
- default y
-
config PCI_ROM_RUN
bool
default n