diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-02-06 17:46:59 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-08 15:10:47 +0000 |
commit | 5700149dbf3ddcb00500b9a8be8cb47e1527b6d9 (patch) | |
tree | 2e9d249e1adacc194bcb33136a4014896b8148b5 /src/soc | |
parent | 286c00347d784da6d486953c2e082b575aaa50ec (diff) |
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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72853
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/phoenix/cpu.c | 2 | ||||
-rw-r--r-- | src/soc/amd/phoenix/include/soc/cpu.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/phoenix/cpu.c b/src/soc/amd/phoenix/cpu.c index 9c51a579e2..8e2443564f 100644 --- a/src/soc/amd/phoenix/cpu.c +++ b/src/soc/amd/phoenix/cpu.c @@ -50,7 +50,7 @@ static struct device_operations cpu_dev_ops = { }; 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 f99c316d91..34784c4d5a 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 */ |