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>
This commit is contained in:
Vladimir Serbinenko 2014-09-02 02:08:32 +02:00 committed by Edward O'Callaghan
parent ab728eb346
commit 55ab5ef393
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ static int smbios_write_type3(unsigned long *current, int handle)
t->bootup_state = SMBIOS_STATE_SAFE; t->bootup_state = SMBIOS_STATE_SAFE;
t->power_supply_state = SMBIOS_STATE_SAFE; t->power_supply_state = SMBIOS_STATE_SAFE;
t->thermal_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; t->security_status = SMBIOS_STATE_SAFE;
len = t->length + smbios_string_table_len(t->eos); len = t->length + smbios_string_table_len(t->eos);
*current += len; *current += len;