summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-20 17:13:28 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-20 17:13:28 +0000
commitbea4cc60ba4ca51c62a2888309a145b02d4580cc (patch)
treec4476a08b1f3327e000c03b649246512d34bf70b /src/northbridge
parentc6aadbe3ebca9865d47443d11933ef11bfe31085 (diff)
downloadcoreboot-bea4cc60ba4ca51c62a2888309a145b02d4580cc.tar.xz
When I converted an #ifdef to an #if it broke the code because the variable was
always defined, but not 1. This commit reverts to the old behavior. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4818 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdk8/northbridge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c
index 5113e3d255..75996e3c54 100644
--- a/src/northbridge/amd/amdk8/northbridge.c
+++ b/src/northbridge/amd/amdk8/northbridge.c
@@ -357,9 +357,7 @@ static void amdk8_link_read_bases(device_t dev, unsigned nodeid, unsigned link)
resource->gran = log2(HT_MEM_HOST_ALIGN);
resource->limit = 0xffffffffffULL;
resource->flags = IORESOURCE_MEM | IORESOURCE_PREFETCH;
-#if CONFIG_PCI_64BIT_PREF_MEM
resource->flags |= IORESOURCE_BRIDGE;
-#endif
}
/* Initialize the memory constraints on the current bus */