From 46b0951182c07b7bcd86fd2b66ac162d99eee3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 17 Apr 2014 15:07:47 +0300 Subject: Move MAX_PHYSICAL_CPUS to AMD k8 and fam10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was always AMD-only and it was never properly used with AGESA. Change-Id: Ifb461ee845e442f6cf90aca52470cfb66e862bfc Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5540 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- 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 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 -- cgit v1.2.3