x86: ivybridge: Request MTRRs for DRAM regions
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:18:10 +0000 (16:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:25:01 +0000 (07:25 -0800)
commitaaafcd6c3f472f81d2c87b96571fba2e0f55b368
tree204338267990c2c2abd080dd0f011397bf806fde
parent313aef37a12703b32a75dfc15b50491ecc43d97a
x86: ivybridge: Request MTRRs for DRAM regions

We should use MTRRs to speed up execution. Add a list of MTRR requests which
will dealt with when we relocate and run from RAM.

We set RAM as cacheable (with write-back) and registers as non-cacheable.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/sdram.c