[coreboot-gerrit] New patch to review for coreboot: 59d2844 smbios.c: Fix mismerge which led to laptop being default type

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Tue Sep 2 02:08:41 CEST 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6823

-gerrit

commit 59d284453287862e0ff8d7a1dc1e09ce77319f1e
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Tue Sep 2 02:08:32 2014 +0200

    smbios.c: Fix mismerge which led to laptop being default type
    
    Change-Id: I97ccd08a5e7f094908ed3a85ddae53b158124995
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/arch/x86/boot/smbios.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c
index 9eea38f..8437fb5 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;



More information about the coreboot-gerrit mailing list