From 3ecf377e305e1a026ddfa66adf800a28993f4075 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 6 Feb 2023 21:13:19 +0100 Subject: soc/amd: use CPUID_FROM_FMS macro instead of magic numbers Port over the remaining AMD SoCs to use CPUID_FROM_FMS. The Glinda CPUID still needs to be updated to the actual CPUID, but for now just change it to use CPUID_FROM_FMS. TEST=Resulting image of timeless build for Gardenia (Stoneyridge), Majolica (Cezanne), Chausie (Mendocino), Mayan (Phoenix) and Birman (Glinda) don't change. Signed-off-by: Felix Held Change-Id: Ia508f857d06f3c15e3ac9f813302471348ce3d89 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72862 Reviewed-by: Fred Reitberger Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/soc/amd/mendocino/include/soc/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/amd/mendocino') diff --git a/src/soc/amd/mendocino/include/soc/cpu.h b/src/soc/amd/mendocino/include/soc/cpu.h index e0202bbafe..1890306157 100644 --- a/src/soc/amd/mendocino/include/soc/cpu.h +++ b/src/soc/amd/mendocino/include/soc/cpu.h @@ -3,6 +3,6 @@ #ifndef AMD_MENDOCINO_CPU_H #define AMD_MENDOCINO_CPU_H -#define MENDOCINO_A0_CPUID 0x008a0f00 +#define MENDOCINO_A0_CPUID CPUID_FROM_FMS(0x17, 0xa0, 0) #endif /* AMD_MENDOCINO_CPU_H */ -- cgit v1.2.3