Author: rminnich
Date: 2008-01-26 08:35:47 +0100 (Sat, 26 Jan 2008)
New Revision: 3078
Modified:
trunk/util/flashrom/chipset_enable.c
Log:
Correctly disable the ROM area Write Protect bit in the Geode LX.
Signed-off-by: Marc Jones <[EMAIL PROTECTED]>
Acked-by: Peter Stuge <[EMAIL PROTECTED]>
Tested on the pcengines alix1c and works fine.
Acked-by: Ronald G. Minnich <[EMAIL PROTECTED]>
Modified: trunk/util/flashrom/chipset_enable.c
===================================================================
--- trunk/util/flashrom/chipset_enable.c 2008-01-25 19:31:26 UTC (rev
3077)
+++ trunk/util/flashrom/chipset_enable.c 2008-01-26 07:35:47 UTC (rev
3078)
@@ -256,7 +256,7 @@
close(fd_msr);
if (buf[7] != 0x22) {
printf("Enabling Geode MSR to write to flash.\n");
- buf[7] = 0x22;
+ buf[7] &= 0xFB;
fd_msr = open("/dev/cpu/0/msr", O_WRONLY);
if (!fd_msr) {
perror("open msr");
--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot