diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2017-07-04 21:38:03 +0200 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2017-07-06 08:51:24 +0000 |
commit | 25dbc17a3612f9b11d451de94b87486e1cabc471 (patch) | |
tree | 53d49092d894b2145ee185ae6c7ae8b844bc6c4e /src/arch | |
parent | ccd233b4bc6c505b01f2e93dc7a9d9bb128d8b3e (diff) | |
download | coreboot-25dbc17a3612f9b11d451de94b87486e1cabc471.tar.xz |
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>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/smbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index 97c58815f6..79279faa79 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -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; |