diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-02-06 13:03:35 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-08 11:48:31 +0000 |
commit | 02dcf97dd4b515fc3ec71709f57628259f401c20 (patch) | |
tree | 26b138a6f7bd6d42f0f4f3985bc3c3c4dc2e8c74 /src | |
parent | 1dc1d9846713258846f3df3b7cf913a3d8f6852a (diff) |
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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72843
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: ritul guru <ritul.bits@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/phoenix/cpu.c | 3 | ||||
-rw-r--r-- | 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 */ |