Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5540
-gerrit
commit 0410a491d7dd9a12e52f44856c0ea3dff18e3cfd Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Thu Apr 17 15:07:47 2014 +0300
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 --- src/cpu/Kconfig | 7 ------- src/cpu/amd/model_10xxx/Kconfig | 4 ++++ src/cpu/amd/model_fxx/Kconfig | 4 ++++ 3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig index f3883d3..bf5ce8e 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 99358e0..bc20219 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 fb094b1..2ea381e 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