summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-09-02 02:08:32 +0200
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-09-02 03:03:27 +0200
commit55ab5ef393c727afaae1e971ae0d7cbff6471203 (patch)
treeac7fb7bed74821ed8dc196842b2b5049249b3bb8 /src
parentab728eb346b948d9b03fe280e6dcdbb30bc14320 (diff)
downloadcoreboot-55ab5ef393c727afaae1e971ae0d7cbff6471203.tar.xz
smbios.c: Fix mismerge which led to laptop being default type
Change-Id: I97ccd08a5e7f094908ed3a85ddae53b158124995 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6823 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/boot/smbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c
index 9eea38fefb..8437fb5ab0 100644
--- a/src/arch/x86/boot/smbios.c
+++ b/src/arch/x86/boot/smbios.c
@@ -253,7 +253,7 @@ static int smbios_write_type3(unsigned long *current, int handle)
t->bootup_state = SMBIOS_STATE_SAFE;
t->power_supply_state = SMBIOS_STATE_SAFE;
t->thermal_state = SMBIOS_STATE_SAFE;
- t->_type = SMBIOS_ENCLOSURE_NOTEBOOK;
+ t->_type = SMBIOS_ENCLOSURE_DESKTOP;
t->security_status = SMBIOS_STATE_SAFE;
len = t->length + smbios_string_table_len(t->eos);
*current += len;