smbios: Add option to select the enclosure type

Hardware / Coreboot - Julien Viard de Galbert [online.net] - 1 March 2018 13:46 EST

This allows for a mainboard to change the value from its Kconfig.

The default value is still SMBIOS_ENCLOSURE_DESKTOP (0x03) or SMBIOS_ENCLOSURE_LAPTOP (0x09) if SYSTEM_TYPE_LAPTOP is set.

Change-Id: I35bc913af69565531831746040a0afe0cabe1c58

9d231a9fd3 smbios: Add option to select the enclosure type
src/Kconfig | 10 ++++++++++
src/arch/x86/smbios.c | 5 +----
2 files changed, 11 insertions(+), 4 deletions(-)

Upstream: review.coreboot.org


  • Share