Author: mkarcher
Date: 2010-01-03 16:09:17 +0100 (Sun, 03 Jan 2010)
New Revision: 826

Modified:
   trunk/chipset_enable.c
Log:
Fix Intel FWH decode size

Fixes wrong detection of area decoded to the FWH interfaces.

Signed-off-by: Michael Karcher <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>

Modified: trunk/chipset_enable.c
===================================================================
--- trunk/chipset_enable.c      2010-01-03 14:40:30 UTC (rev 825)
+++ trunk/chipset_enable.c      2010-01-03 15:09:17 UTC (rev 826)
@@ -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
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to