From bea4cc60ba4ca51c62a2888309a145b02d4580cc Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Tue, 20 Oct 2009 17:13:28 +0000 Subject: 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 Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4818 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/northbridge.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/northbridge') 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 */ -- cgit v1.2.3