summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-17 15:07:47 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-20 20:04:07 +0200
commit46b0951182c07b7bcd86fd2b66ac162d99eee3f3 (patch)
tree7f37ea2fd6f8c38a3fb6eab6c55bdb47f41ba6a8
parenta6c525a7d5ad0dedc31dcc9719be6bc5fbc743dd (diff)
downloadcoreboot-46b0951182c07b7bcd86fd2b66ac162d99eee3f3.tar.xz
Move MAX_PHYSICAL_CPUS to AMD k8 and fam10
This was always AMD-only and it was never properly used with AGESA. Change-Id: Ifb461ee845e442f6cf90aca52470cfb66e862bfc Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5540 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r--src/cpu/Kconfig7
-rw-r--r--src/cpu/amd/model_10xxx/Kconfig4
-rw-r--r--src/cpu/amd/model_fxx/Kconfig4
3 files changed, 8 insertions, 7 deletions
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index f3883d3e94..bf5ce8e793 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -29,13 +29,6 @@ config DCACHE_RAM_BASE
config DCACHE_RAM_SIZE
hex
-# FIXME MAX_PHYSICAL_CPUS should move to AMD specific code, or better
-# yet be dropped completely.
-config MAX_PHYSICAL_CPUS
- int
- depends on CPU_AMD_MODEL_10XXX || CPU_AMD_MODEL_FXX || CPU_AMD_AGESA
- default 1
-
config SMP
bool
default y if MAX_CPUS != 1
diff --git a/src/cpu/amd/model_10xxx/Kconfig b/src/cpu/amd/model_10xxx/Kconfig
index 99358e068e..bc20219a54 100644
--- a/src/cpu/amd/model_10xxx/Kconfig
+++ b/src/cpu/amd/model_10xxx/Kconfig
@@ -32,6 +32,10 @@ config SET_FIDVID
bool
default y
+config MAX_PHYSICAL_CPUS
+ int
+ default 1
+
config LIFT_BSP_APIC_ID
bool
default n
diff --git a/src/cpu/amd/model_fxx/Kconfig b/src/cpu/amd/model_fxx/Kconfig
index fb094b1a5d..2ea381e9cb 100644
--- a/src/cpu/amd/model_fxx/Kconfig
+++ b/src/cpu/amd/model_fxx/Kconfig
@@ -11,6 +11,10 @@ config UDELAY_IO
bool
default n
+config MAX_PHYSICAL_CPUS
+ int
+ default 1
+
config LIFT_BSP_APIC_ID
bool
default n