Author: myles Date: 2009-10-20 19:13:28 +0200 (Tue, 20 Oct 2009) New Revision: 4818
Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/northbridge.c Log: 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 <myle...@gmail.com> Acked-by: Myles Watson <myle...@gmail.com> Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/northbridge.c =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/amdk8/northbridge.c 2009-10-20 16:24:23 UTC (rev 4817) +++ trunk/coreboot-v2/src/northbridge/amd/amdk8/northbridge.c 2009-10-20 17:13:28 UTC (rev 4818) @@ -357,9 +357,7 @@ 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 */ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot