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:
parent
ab728eb346
commit
55ab5ef393
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue