From 30fe6120ca8d7211f0055e47d3ecd569a628f2aa Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 5 Feb 2014 23:25:28 +0100 Subject: MTRR: Mark all prefetchable resources as WRCOMB. Change-Id: I2ecfd9733b65b6160bc2232d22db7b16692a847f Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/5149 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/cpu/x86/mtrr/mtrr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index cdaa791de3..dfb9c94eeb 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -178,9 +178,8 @@ static struct memranges *get_physical_address_space(void) MTRR_TYPE_UNCACHEABLE); /* Handle any write combining resources. Only prefetchable - * resources with the IORESOURCE_WRCOMB flag are appropriate - * for this MTRR type. */ - match = IORESOURCE_PREFETCH | IORESOURCE_WRCOMB; + * resources are appropriate for this MTRR type. */ + match = IORESOURCE_PREFETCH; mask |= match; memranges_add_resources(addr_space, mask, match, MTRR_TYPE_WRCOMB); -- cgit v1.2.3