]> git.sur5r.net Git - u-boot/commit
x86: Setup fixed range MTRRs for legacy regions
authorBin Meng <bmeng.cn@gmail.com>
Mon, 6 Jul 2015 08:31:30 +0000 (16:31 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:18 +0000 (18:03 -0600)
commit43dd22f5fc4c368616721a69e5ea0769abf292dc
treeabe7a052d68f5ac9687cef6afdf3a9913e11e09b
parent0e98a1473a85f2d8590f97653a36f90f55267732
x86: Setup fixed range MTRRs for legacy regions

We should setup fixed range MTRRs for some legacy regions like VGA
RAM and PCI ROM areas as uncacheable. Note FSP may setup these to
other cache settings, but we can override this in x86_cpu_init_f().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/cpu.c
arch/x86/include/asm/mtrr.h