u-boot-brain/arch/x86
Simon Glass add3f4c918 x86: Add a function to set variable MTRRs
Normally U-Boot handles MTRRs through an add/commit process which
overwrites all MTRRs. But in very early boot it is not desirable to clear
the existing MTRRs since they may be in use and it can cause a hang.

Add a new mtrr_set_next_var() function which sets up the next available
MTRR to the required region.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: pass 'type' to set_var_mtrr() in mtrr_set_next_var()]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2019-10-08 13:57:48 +08:00
..
cpu x86: Add a function to set variable MTRRs 2019-10-08 13:57:48 +08:00
dts x86: slimbootloader: Add a slimbootloader device tree 2019-08-09 22:24:02 +08:00
include/asm x86: Add a function to set variable MTRRs 2019-10-08 13:57:48 +08:00
lib x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
config.mk x86: efi: app: Generate Microsoft PE format compliant image 2018-12-02 21:59:36 +01:00
Kconfig x86: Change condition for using CAR 2019-10-08 13:57:36 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00