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>
This commit is contained in:
Felix Held 2023-02-16 19:54:55 +01:00
parent edb36a1fd1
commit c3d5d20664
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ static struct device_operations cpu_dev_ops = {
}; };
static const struct cpu_device_id cpu_table[] = { 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 CPU_TABLE_END
}; };