summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/alderlake/smbios.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/intel/alderlake/smbios.c b/src/soc/intel/alderlake/smbios.c
index d0d9d79062..42692586fe 100644
--- a/src/soc/intel/alderlake/smbios.c
+++ b/src/soc/intel/alderlake/smbios.c
@@ -4,11 +4,8 @@
#include <intelblocks/msr.h>
#include <smbios.h>
-/* AlderLake bus clock is fixed at 100MHz */
-#define ADL_BCLK 100
-
/* Provide the max turbo frequency of the CPU */
unsigned int smbios_cpu_get_max_speed_mhz(void)
{
- return cpu_get_max_turbo_ratio() * ADL_BCLK;
+ return cpu_get_max_turbo_ratio() * CONFIG_CPU_BCLK_MHZ;
}