Attention is currently required from: Jason Glenesk, Matt DeVillier, Fred Reitberger.
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72853 )
Change subject: soc/amd/phoenix/include/cpu: add Phoenix CPUID ......................................................................
soc/amd/phoenix/include/cpu: add Phoenix CPUID
There are multiple Phoenix steppings, but that is now covered by using CPUID_ALL_STEPPINGS_MASK.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: Id4eb3502dec5ebdfdbba263b15b34621952d0554 --- M src/soc/amd/phoenix/cpu.c M src/soc/amd/phoenix/include/soc/cpu.h 2 files changed, 15 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/72853/1
diff --git a/src/soc/amd/phoenix/cpu.c b/src/soc/amd/phoenix/cpu.c index 9c51a57..8e24435 100644 --- a/src/soc/amd/phoenix/cpu.c +++ b/src/soc/amd/phoenix/cpu.c @@ -50,7 +50,7 @@ };
static struct cpu_device_id cpu_table[] = { - /* TODO: Add Phoenix CPUID */ + { X86_VENDOR_AMD, PHOENIX_A0_CPUID, CPUID_ALL_STEPPINGS_MASK }, { X86_VENDOR_AMD, PHOENIX2_A0_CPUID, CPUID_ALL_STEPPINGS_MASK }, { 0, 0, 0 }, }; diff --git a/src/soc/amd/phoenix/include/soc/cpu.h b/src/soc/amd/phoenix/include/soc/cpu.h index f99c316..34784c4 100644 --- a/src/soc/amd/phoenix/include/soc/cpu.h +++ b/src/soc/amd/phoenix/include/soc/cpu.h @@ -3,6 +3,7 @@ #ifndef AMD_PHOENIX_CPU_H #define AMD_PHOENIX_CPU_H
+#define PHOENIX_A0_CPUID 0x00a70f40 #define PHOENIX2_A0_CPUID 0x00a70f80
#endif /* AMD_PHOENIX_CPU_H */