Anand Vaikar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81887?usp=email )
Change subject: soc/amd/glinda : Add support for A0 and B0 steppings ......................................................................
soc/amd/glinda : Add support for A0 and B0 steppings
Update the A0 and B0 stepping IDs in CPU table
Change-Id: I0072f25f981ac7d5df2522594c8788bfabcbf24c Signed-off-by: Anand Vaikar a.vaikar2021@gmail.com --- M src/soc/amd/glinda/cpu.c M src/soc/amd/glinda/include/soc/cpu.h 2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/81887/1
diff --git a/src/soc/amd/glinda/cpu.c b/src/soc/amd/glinda/cpu.c index 06e62c5..a716127 100644 --- a/src/soc/amd/glinda/cpu.c +++ b/src/soc/amd/glinda/cpu.c @@ -25,7 +25,8 @@ };
static struct cpu_device_id cpu_table[] = { - { X86_VENDOR_AMD, GLINDA_A0_CPUID, CPUID_ALL_STEPPINGS_MASK }, /* TODO: Update for Glinda */ + { X86_VENDOR_AMD, GLINDA_A0_CPUID, CPUID_ALL_STEPPINGS_MASK }, + { X86_VENDOR_AMD, GLINDA_B0_CPUID, CPUID_ALL_STEPPINGS_MASK }, CPU_TABLE_END };
diff --git a/src/soc/amd/glinda/include/soc/cpu.h b/src/soc/amd/glinda/include/soc/cpu.h index e7207da..fa9e56c 100644 --- a/src/soc/amd/glinda/include/soc/cpu.h +++ b/src/soc/amd/glinda/include/soc/cpu.h @@ -3,6 +3,6 @@ #ifndef AMD_GLINDA_CPU_H #define AMD_GLINDA_CPU_H
-#define GLINDA_A0_CPUID CPUID_FROM_FMS(0x17, 0xa0, 0) /* TODO: Update for Glinda */ - +#define GLINDA_A0_CPUID CPUID_FROM_FMS(0x1A, 0x20, 0xA0) +#define GLINDA_B0_CPUID CPUID_FROM_FMS(0x1A, 0x24, 0xB0) #endif /* AMD_GLINDA_CPU_H */