From fe107c1ad217243d68e55d7e238fc59c15d30d70 Mon Sep 17 00:00:00 2001 From: Naresh Solanki Date: Sat, 23 Nov 2024 18:07:48 +0530 Subject: [PATCH] soc/amd/cpu: smbios: Set external clock to 100 MHz Set external clock to 100MHz. source: PPR #57254 Change-Id: I99f73695019612d58b0c78c6985370d23c78b729 Signed-off-by: Naresh Solanki Reviewed-on: https://review.coreboot.org/c/coreboot/+/85636 Tested-by: build bot (Jenkins) Reviewed-by: Maximilian Brune --- src/soc/amd/glinda/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/soc/amd/glinda/cpu.c b/src/soc/amd/glinda/cpu.c index a7161270d2..26380077f2 100644 --- a/src/soc/amd/glinda/cpu.c +++ b/src/soc/amd/glinda/cpu.c @@ -7,11 +7,16 @@ #include #include #include +#include #include _Static_assert(CONFIG_MAX_CPUS == 24, "Do not override MAX_CPUS. To reduce the number of " "available cores, use the downcore_mode and disable_smt devicetree settings instead."); +unsigned int smbios_processor_external_clock(void) +{ + return 100; // 100 MHz +} static void zen_2_3_init(struct device *dev) { check_mca();