projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correctly disable the ROM area Write Protect bit in the Geode LX.
[coreboot.git]
/
util
/
flashrom
/
chipset_enable.c
diff --git
a/util/flashrom/chipset_enable.c
b/util/flashrom/chipset_enable.c
index 7eecf09824d2a629784617927c2fdecad63aafb8..4cbb9417896ef7f47d2f89a1e6c9d525ea17b700 100644
(file)
--- a/
util/flashrom/chipset_enable.c
+++ b/
util/flashrom/chipset_enable.c
@@
-256,7
+256,7
@@
static int enable_flash_cs5536(struct pci_dev *dev, const char *name)
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");