Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72843 )
Change subject: soc/amd/phoenix/include/cpu: rename CPUID define to match CPU model ......................................................................
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 felix-coreboot@felixheld.de Change-Id: Ie7500130d5470fdd824980b81746f3a0f6d277d4 --- M src/soc/amd/phoenix/cpu.c M src/soc/amd/phoenix/include/soc/cpu.h 2 files changed, 16 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/72843/1
diff --git a/src/soc/amd/phoenix/cpu.c b/src/soc/amd/phoenix/cpu.c index e9a510f..68e440b 100644 --- a/src/soc/amd/phoenix/cpu.c +++ b/src/soc/amd/phoenix/cpu.c @@ -50,7 +50,8 @@ };
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 294aa32..f99c316 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 */