diff options
author | Jincheng Li <jincheng.li@intel.com> | 2023-09-15 14:39:29 +0800 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2024-07-22 22:30:47 +0000 |
commit | 9b2d995bdbef8fd5df5d04ed80f7fb96382e968a (patch) | |
tree | f39ca5485e09a290ae0c2fcc4009916058c26405 /src/include | |
parent | aa6865291a7ddfae4c67fcfc55ebd0c13a376807 (diff) |
lib/smbios: Create SMBIOS type 4 entry
One smbios type 4 should be provided for each CPU instance.
Create SMBIOS type 4 entry according to socket number, with a
default value of 1.
TEST=Boot on intel/archercity CRB
No changes in boot log and 'dmidecode' result under centos
Change-Id: Ia47fb7c458f9e89ae63ca64c0d6678b55c9d9d37
Signed-off-by: Jincheng Li <jincheng.li@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83331
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/smbios.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h index 8ef37d8c84..b5b9e7a83f 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -74,6 +74,8 @@ void smbios_cpu_get_core_counts(u16 *core_count, u16 *thread_count); unsigned int smbios_cpu_get_max_speed_mhz(void); unsigned int smbios_cpu_get_current_speed_mhz(void); unsigned int smbios_cpu_get_voltage(void); +unsigned int smbios_get_max_sockets(void); +unsigned int smbios_soc_get_max_sockets(void); const char *smbios_mainboard_manufacturer(void); const char *smbios_mainboard_product_name(void); |