summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2014-01-25 15:59:31 +0100
committerMartin Roth <martinroth@google.com>2016-01-07 17:40:45 +0100
commit2e0d9447db22183e2d3393d84e221e8bb1613d45 (patch)
treed481c26efa3b5501505f116226d747dd36d730a3 /src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c
parentf8532b16bec1743b0528a215c71f67c8845e2a0c (diff)
downloadcoreboot-2e0d9447db22183e2d3393d84e221e8bb1613d45.tar.xz
src/vendorcode/amd: correct spelling of MTRR
Change-Id: I7576591b42fa62da2b3bd74f961fb297b85e250d Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/4806 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c')
-rw-r--r--src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c
index ca60b2bb0f..274844b7cd 100644
--- a/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c
+++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/Feature/cpuCacheInit.c
@@ -282,7 +282,7 @@ AllocateExecutionCache (
RequestSize = AmdExeAddrMapPtr[i].ExeCacheSize;
if (RequestStartAddr < 0x100000) {
- // Region starts below 1MB - Fixed MTTR region,
+ // Region starts below 1MB - Fixed MTRR region,
// turn on modification bit: MtrrFixDramModEn
LibAmdMsrRead (MSR_SYS_CFG, &MsrData, StdHeader);
MsrData |= 0x80000;
@@ -300,7 +300,7 @@ AllocateExecutionCache (
i, RequestStartAddr, RequestSize, 0, StdHeader);
}
- // Find start MTTR and end MTTR for the requested region
+ // Find start MTRR and end MTRR for the requested region
StartFixMtrr = AMD_MTRR_FIX4K_BASE + ((RequestStartAddr >> 15) & 0x7);
EndFixMtrr = AMD_MTRR_FIX4K_BASE + ((((RequestStartAddr + RequestSize) - 1) >> 15) & 0x7);
@@ -326,7 +326,7 @@ AllocateExecutionCache (
} else {
- // Region above 1MB - Variable MTTR region
+ // Region above 1MB - Variable MTRR region
// Need to check both VarMTRRs for each requested region for match or overlap
//