x86/mtrr: Enable MTRR's before enabling caching

Hardware / Coreboot - Isaac Christensen [se-eng.com] - 25 September 2014 16:24 UTC

Fix up the following commit by enabling the MTRR's before enabling caching.

7756fe7 x86: Minimize work done with the caches disabled in mtrr functions.

Also fix two typos in comments.

Change-Id: If751b815f9dab781fc38c898cf692f0940c57695

81f90c5 x86/mtrr: Enable MTRR's before enabling caching
src/cpu/x86/mtrr/mtrr.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Upstream: review.coreboot.org


  • Share