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
This commit is contained in:
parent
c6aadbe3eb
commit
bea4cc60ba
|
@ -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->gran = log2(HT_MEM_HOST_ALIGN);
|
||||||
resource->limit = 0xffffffffffULL;
|
resource->limit = 0xffffffffffULL;
|
||||||
resource->flags = IORESOURCE_MEM | IORESOURCE_PREFETCH;
|
resource->flags = IORESOURCE_MEM | IORESOURCE_PREFETCH;
|
||||||
#if CONFIG_PCI_64BIT_PREF_MEM
|
|
||||||
resource->flags |= IORESOURCE_BRIDGE;
|
resource->flags |= IORESOURCE_BRIDGE;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the memory constraints on the current bus */
|
/* Initialize the memory constraints on the current bus */
|
||||||
|
|
Loading…
Reference in New Issue