]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Use mtrr_commit() with FSP2
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:49 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:49 +0000 (13:57 +0800)
commitafe138df734e984f95b412272aeb618d6b62b06a
tree8cc9f40434e0dcba349205845818cd4d719b89cb
parentf6d7033aebe3759eb8933f5399aac22d8ba257b6
x86: Use mtrr_commit() with FSP2

With FSP2 we use MTRRs in U-Boot proper even though the 32-bit init
happens in TPL. Enable this, using a variable to try to make the
conditions more palatable.

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