[coreboot] r3078 - trunk/util/flashrom
svn at coreboot.org
svn at coreboot.org
Sat Jan 26 08:35:47 CET 2008
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 <marc.jones at amd.com>
Acked-by: Peter Stuge <peter at stuge.se>
Tested on the pcengines alix1c and works fine.
Acked-by: Ronald G. Minnich <rminnich at gmail.com>
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");
More information about the coreboot
mailing list