summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coreboot.org>2010-12-16 23:37:17 +0000
committerStefan Reinauer <stepan@openbios.org>2010-12-16 23:37:17 +0000
commit8aedcbc436db37986d6e8a41873ac5c523a8df0a (patch)
treefb022003f2b3878451e6402adcddd6d97de6bc7e /src/cpu
parent259a39f3930a4032f0ebc8946d26549c5a79bcea (diff)
downloadcoreboot-8aedcbc436db37986d6e8a41873ac5c523a8df0a.tar.xz
- 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
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/Kconfig4
-rw-r--r--src/cpu/x86/Kconfig10
2 files changed, 14 insertions, 0 deletions
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index 1031db0bb6..6e6518618b 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -1,3 +1,5 @@
+if ARCH_X86
+
source src/cpu/amd/Kconfig
source src/cpu/intel/Kconfig
source src/cpu/via/Kconfig
@@ -57,3 +59,5 @@ config VAR_MTRR_HOLE
help
Unset this if you don't want the MTRR code to use
subtractive MTRRs
+
+endif # ARCH_X86
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index 3658ee7edc..ec559b5043 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -30,3 +30,13 @@ config XIP_ROM_BASE
config XIP_ROM_SIZE
hex
default 0x10000
+
+config CPU_ADDR_BITS
+ int
+ default 36
+
+config LOGICAL_CPUS
+ bool
+ default y
+
+