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@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;