diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-02-16 19:54:55 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-17 22:59:28 +0000 |
commit | c3d5d206642d086cef4beec6102269ce8c070a69 (patch) | |
tree | 44c4adb76ec7722a9a2669673f2e4fe9b33a0bc7 | |
parent | edb36a1fd1be9172486c2a3839c712514bef8270 (diff) |
cpu/amd/pi/00730F01/model_16_init: use CPUID_FROM_FMS macro
Replace the magic number with the CPUID_FROM_FMS macro to make it easier
to read.
TEST=Resulting image of timeless build for pcengines/apu2 is identical
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I15480dc883b65b5ffaf0cd38cf4e1f7b2222022e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73069
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/cpu/amd/pi/00730F01/model_16_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c index 6ecc96bdc4..caf4647467 100644 --- a/src/cpu/amd/pi/00730F01/model_16_init.c +++ b/src/cpu/amd/pi/00730F01/model_16_init.c @@ -58,7 +58,7 @@ static struct device_operations cpu_dev_ops = { }; static const struct cpu_device_id cpu_table[] = { - { X86_VENDOR_AMD, 0x730F00, CPUID_ALL_STEPPINGS_MASK }, + { X86_VENDOR_AMD, CPUID_FROM_FMS(0x16, 0x30, 0), CPUID_ALL_STEPPINGS_MASK }, CPU_TABLE_END }; |