diff options
author | Zhixing Ma <zhixing.ma@intel.com> | 2022-09-30 14:22:41 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-17 13:44:58 +0000 |
commit | 42bb7df28c772072c0239405857795da50b1731e (patch) | |
tree | cff7ab8b87e6887521008f00bfa6c638dc7609a2 | |
parent | 854c897eb882b163506db1f15578155c6d3a2a5d (diff) |
arch/x86/smbios.c: Fix Upgrade processor information in SMBIOS
The current SMBIOS for coreboot is missing processor info for Alder Lake and Raptor Lake SoC, specifically, voltage, max speed,
and upgrade (socket type). This patch implements upgrade function.
Refer to SMBIOS spec sheet for documentation on cpu socket values:
https://web.archive.org/web/20221012222420/https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.6.0.pdf
BUG=NONE
BRANCH=firmware-brya-14505.B
TEST=Boot and verified that SMBIOS processor upgrade value is correct.
Signed-off-by: Zhixing Ma <zhixing.ma@intel.com>
Change-Id: I5796d31fa2d31b17afa5eddde0799b0f68d69909
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68024
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
-rw-r--r-- | src/arch/x86/smbios.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index 2a2a6af07c..24b18f2988 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -388,6 +388,8 @@ static int get_socket_type(void) return 0x15; if (CONFIG(XEON_SP_COMMON_BASE)) return 0x36; + if (CONFIG(SOC_INTEL_ALDERLAKE)) + return 0x40; return 0x02; /* Unknown */ } |