On 29.09.2007 02:02, Rudolf Marek wrote:
This patch fixes the resource end in amdk8/northbridge.c
Signed-off-by: Rudolf Marek r.marek@assembler.cz
If this fixes resources going backwards, it is Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Can somebody please commit?
Rudolf
Index: src/northbridge/amd/amdk8/northbridge.c
--- src/northbridge/amd/amdk8/northbridge.c (revision 2776) +++ src/northbridge/amd/amdk8/northbridge.c (working copy) @@ -562,7 +562,7 @@ base |= (resource->base >> 8) & 0xffffff00; base |= 3; limit &= 0x00000048;
- limit |= ((resource->base + resource->size) >> 8) & 0xffffff00;
- limit |= (resource_end(resource) >> 8) & 0xffffff00; limit |= (resource->index & 3) << 4; limit |= (nodeid & 7); f1_write_config32(reg + 0x4, limit);