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>
This commit is contained in:
Tim Chu 2020-12-14 23:30:13 -08:00 committed by Patrick Georgi
parent 40d45996d8
commit 3d6d1075b2
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}