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;