summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-05 23:25:28 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-02-06 00:55:13 +0100
commit30fe6120ca8d7211f0055e47d3ecd569a628f2aa (patch)
tree52906b5ed573d84a207e78bf9425988602cf1b97 /src/cpu
parent7a4fa0a32cf11a0686804afffbcd02827c846fcf (diff)
downloadcoreboot-30fe6120ca8d7211f0055e47d3ecd569a628f2aa.tar.xz
MTRR: Mark all prefetchable resources as WRCOMB.
Change-Id: I2ecfd9733b65b6160bc2232d22db7b16692a847f Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5149 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/mtrr/mtrr.c5
1 files changed, 2 insertions, 3 deletions
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);