u-boot-brain/arch
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
..
arc NET: DW: fix regression for ARC boards 2019-10-07 13:23:49 -04:00
arm spl: Convert CONFIG_SPL_SIZE_LIMIT to hex 2019-10-08 13:57:45 +08:00
m68k env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
microblaze env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
mips env: Move env_init() to env.h 2019-08-11 16:43:41 -04:00
nds32 env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
nios2 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-06-18 14:43:12 -04:00
powerpc MPC8548: dts: Added PCIe DT node 2019-08-28 13:47:47 +05:30
riscv riscv: cache: use CCTL to flush d-cache 2019-09-03 09:31:03 +08:00
sandbox sandbox: pci: Create a new sandbox_pci_read_bar() function 2019-10-08 13:57:48 +08:00
sh sh: r2dplus: Fix missing PCI range 2019-09-14 21:28:55 +02:00
x86 x86: Add a function to set variable MTRRs 2019-10-08 13:57:48 +08:00
xtensa env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
.gitignore
Kconfig sh: r2dplus: Enable OF control 2019-09-02 17:38:43 +02:00