From 25dbc17a3612f9b11d451de94b87486e1cabc471 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 4 Jul 2017 21:38:03 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/20463 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/arch/x86/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') 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; -- cgit v1.2.3