arch/x86/smbios: Fix type4 for EDK2
Mark the CPU as enabled and the socket as populated. EDK2 tests these flags before further reading this structure. Change-Id: Ic545bb47c502cb9d2352ba6d43eaed8c97229c02 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43703 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
604295e508
commit
4aea6915a0
@@ -405,6 +405,11 @@ struct smbios_type4 {
|
||||
u8 eos[2];
|
||||
} __packed;
|
||||
|
||||
/* defines for smbios_type4 */
|
||||
|
||||
#define SMBIOS_PROCESSOR_STATUS_POPULATED (1 << 6)
|
||||
#define SMBIOS_PROCESSOR_STATUS_CPU_ENABLED (1 << 0)
|
||||
|
||||
/* defines for supported_sram_type/current_sram_type */
|
||||
|
||||
#define SMBIOS_CACHE_SRAM_TYPE_OTHER (1 << 0)
|
||||
|
Reference in New Issue
Block a user