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;
On 30.12.2009 17:24, Michael Karcher wrote:
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
Thanks for catching this.
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Regards, Carl-Daniel
Am Freitag, den 01.01.2010, 01:18 +0100 schrieb Carl-Daniel Hailfinger:
On 30.12.2009 17:24, Michael Karcher wrote:
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
Thanks for catching this.
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Thanks for the ack. r826.
Regards, Michael Karcher