smbios: Correct the system enclosure types
Regarding the "System Management BIOS Reference Specification" Version: 3.1.1, Date: 2017-01-12, Laptop system enclosure is 0x09 and for Notebook it is 0x0a Change-Id: I5538be0b434eed20d76aef6f26247e46d1225feb Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/20463 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@@ -426,7 +426,7 @@ static int smbios_write_type3(unsigned long *current, int handle)
|
||||
t->power_supply_state = SMBIOS_STATE_SAFE;
|
||||
t->thermal_state = SMBIOS_STATE_SAFE;
|
||||
if (IS_ENABLED(CONFIG_SYSTEM_TYPE_LAPTOP))
|
||||
t->_type = SMBIOS_ENCLOSURE_NOTEBOOK;
|
||||
t->_type = SMBIOS_ENCLOSURE_LAPTOP;
|
||||
else
|
||||
t->_type = SMBIOS_ENCLOSURE_DESKTOP;
|
||||
t->security_status = SMBIOS_STATE_SAFE;
|
||||
|
Reference in New Issue
Block a user