]> git.dujemihanovic.xyz Git - u-boot.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)
commitcc2d27dcdc3e1c76d09d54015e3992380bd7e0fa
tree8cc9f40434e0dcba349205845818cd4d719b89cb
parentb377ebbd5b8fc371b0b27dd3551f2cc3718757dc
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