aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Chu <Tim.Chu@quantatw.com>2020-12-14 23:30:13 -0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-05 09:41:56 +0000
commit3d6d1075b2ba17a357143f518715a911e09b38ec (patch)
tree0d55c034468d65273f1c06c068ecb9cb4a59825b
parent40d45996d8efd3646d1b6dac7ae2d7d578eeb6f4 (diff)
soc/intel/xeon_sp/cpx: Override SMBIOS type 4 max speed
Override SMBIOS type 4 max speed. This field should be maximum speed supported by the system. 3900MHz is expected for Cooper Lake. Tested=Execute "dmidecode -t 4" to check max speed is correct. Signed-off-by: Tim Chu <Tim.Chu@quantatw.com> Change-Id: I67edf657a2fe66b38e08056d558e1b360c4b8adc Reviewed-on: https://review.coreboot.org/c/coreboot/+/48640 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/soc/intel/xeon_sp/cpx/ramstage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/ramstage.c b/src/soc/intel/xeon_sp/cpx/ramstage.c
index deb9030c20..1e0ba008c2 100644
--- a/src/soc/intel/xeon_sp/cpx/ramstage.c
+++ b/src/soc/intel/xeon_sp/cpx/ramstage.c
@@ -1,8 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <fsp/api.h>
+#include <smbios.h>
int soc_fsp_multi_phase_init_is_enable(void)
{
return 0;
}
+
+unsigned int smbios_cpu_get_max_speed_mhz(void)
+{
+ return 3900;
+}