[coreboot] [flashrom] BIOS lock enable patch fixed

Daniel McLellan daniel.mclellan at gmail.com
Fri May 15 16:11:49 CEST 2009


Author : Javeed Shaikh
            : Daniel McLellan
Date: Fri May 15 10:11:40 EDT 2009


Modified: trunk/flashrom/chipset_enable.c

Log: warning for BIOS lock enable




--- flashrom/chipset_enable.c   2009-05-15 10:07:38.888122441 -0400
+++ chipset_enable.c.new        2009-05-15 10:03:45.686122396 -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/defdef18/attachment.html>


More information about the coreboot mailing list