[coreboot] chipset_enable BIOS Lock enabled patch

psibyrion daniel.mclellan at gmail.com
Fri May 15 14:12:55 CEST 2009


Author : Javeed Shaikh
            : Daniel McLellan
Date: Fri May 15 08:09:07 EDT 2009

Modified: trunk/flashrom/chipset_enable.c

Log: warning for BIOS lock enable


Signed-off-by: Daniel McLellan (raijin) <daniel.mclellan at gmail.com>




--- chipset_enable.c~   2009-05-14 11:47:02.254392318 -0400
+++ chipset_enable.c     09-05-14 11:47:02.351382159 -0400
@@ -178,8 +178,11 @@
        printf_debug("BIOS Write Enable: %sabled, ",
                     (old & (1 << 0)) ? "en" : "dis");
        printf_debug("BIOS_CNTL is 0x%x\n", old);

+       if ( (old & (1 << 1)) && !(old & (1 << 0) )
+               printf("\nBIOS Lock enabled. Please refer to your manual to
disable.\n");
+
        new = old | 1;

        if (new == old)
                return 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090515/f745c405/attachment.html>


More information about the coreboot mailing list