[prev in list] [next in list] [prev in thread] [next in thread]
List: flashrom
Subject: [flashrom] Fix FWH decode size.
From: Michael Karcher <flashrom () mkarcher ! dialup ! fu-berlin ! de>
Date: 2009-12-30 16:24:28
Message-ID: 1262190268.30445.59.camel () aquila
[Download RAW message or body]
Fix logic error in determining the decode size of the Intel FWH bridge chip.
Signed-Off-By: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Index: chipset_enable.c
===================================================================
--- chipset_enable.c (Revision 824)
+++ chipset_enable.c (Arbeitskopie)
@@ -364,7 +364,7 @@
(0x1ff8 + i) * 0x80000,
(0x1ff0 + i) * 0x80000,
tmp ? "en" : "dis");
- if ((tmp == 0) && contiguous) {
+ if ((tmp == 1) && contiguous) {
max_decode_fwh_decode = (8 - i) * 0x80000;
} else {
contiguous = 0;
@@ -376,7 +376,7 @@
(0xff4 + i) * 0x100000,
(0xff0 + i) * 0x100000,
tmp ? "en" : "dis");
- if ((tmp == 0) && contiguous) {
+ if ((tmp == 1) && contiguous) {
max_decode_fwh_decode = (8 - i) * 0x100000;
} else {
contiguous = 0;
_______________________________________________
flashrom mailing list
flashrom@flashrom.org
http://www.flashrom.org/mailman/listinfo/flashrom
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic