x86: fsp: Set up an MTRR for the graphics frame buffer
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:19 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:17 +0000 (11:44 +0800)
commite98791ab80bd136bfaba8c0b2c40651da45ffbf9
treeaec793f0d75da9018b3195a9caa9ea43a33ef784
parentcf87d3b5039d2e497380ccddff905cf3e58e0032
x86: fsp: Set up an MTRR for the graphics frame buffer

The FSP-S may do this but at least for coral it does not. Set this up so
that graphics is not deathly slow.

It isn't clear whether the FSP is expected to set up MTRR. It is not
mentioned in the APL FSP document.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/fsp/fsp_graphics.c