From edb36a1fd1be9172486c2a3839c712514bef8270 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 16 Feb 2023 19:40:29 +0100 Subject: [PATCH] cpu/amd/pi/00730F01/model_16_init: use CPUID_ALL_STEPPINGS_MASK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of having two entries for two different steppings of the same family and model combination using the CPUID_EXACT_MATCH_MASK, just have one entry that uses CPUID_ALL_STEPPINGS_MASK to cover all steppings. Signed-off-by: Felix Held Change-Id: I0118bb9b4b0be4d954a657d50789addca08a784e Reviewed-on: https://review.coreboot.org/c/coreboot/+/73068 Reviewed-by: Michał Żygowski Reviewed-by: Fred Reitberger Tested-by: build bot (Jenkins) --- src/cpu/amd/pi/00730F01/model_16_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c index a3064620a3..6ecc96bdc4 100644 --- a/src/cpu/amd/pi/00730F01/model_16_init.c +++ b/src/cpu/amd/pi/00730F01/model_16_init.c @@ -58,8 +58,7 @@ static struct device_operations cpu_dev_ops = { }; static const struct cpu_device_id cpu_table[] = { - { X86_VENDOR_AMD, 0x730F00, CPUID_EXACT_MATCH_MASK }, - { X86_VENDOR_AMD, 0x730F01, CPUID_EXACT_MATCH_MASK }, + { X86_VENDOR_AMD, 0x730F00, CPUID_ALL_STEPPINGS_MASK }, CPU_TABLE_END };