From 02dcf97dd4b515fc3ec71709f57628259f401c20 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 6 Feb 2023 13:03:35 +0100 Subject: [PATCH] soc/amd/phoenix/include/cpu: rename CPUID define to match CPU model CPUID 0x00a70f80 is Phoenix 2 and not Phoenix, so update the define name to match. Signed-off-by: Felix Held Change-Id: Ie7500130d5470fdd824980b81746f3a0f6d277d4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72843 Reviewed-by: Paul Menzel Reviewed-by: ritul guru Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Martin Roth --- src/soc/amd/phoenix/cpu.c | 3 ++- src/soc/amd/phoenix/include/soc/cpu.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/amd/phoenix/cpu.c b/src/soc/amd/phoenix/cpu.c index e9a510f6c2..68e440be43 100644 --- a/src/soc/amd/phoenix/cpu.c +++ b/src/soc/amd/phoenix/cpu.c @@ -50,7 +50,8 @@ static struct device_operations cpu_dev_ops = { }; static struct cpu_device_id cpu_table[] = { - { X86_VENDOR_AMD, PHOENIX_A0_CPUID}, /* TODO: Update for Phoenix */ + /* TODO: Add Phoenix CPUID */ + { X86_VENDOR_AMD, PHOENIX2_A0_CPUID}, { 0, 0 }, }; diff --git a/src/soc/amd/phoenix/include/soc/cpu.h b/src/soc/amd/phoenix/include/soc/cpu.h index 294aa328c8..f99c316d91 100644 --- a/src/soc/amd/phoenix/include/soc/cpu.h +++ b/src/soc/amd/phoenix/include/soc/cpu.h @@ -3,6 +3,6 @@ #ifndef AMD_PHOENIX_CPU_H #define AMD_PHOENIX_CPU_H -#define PHOENIX_A0_CPUID 0x00a70f80 +#define PHOENIX2_A0_CPUID 0x00a70f80 #endif /* AMD_PHOENIX_CPU_H */