diff options
author | Simon Glass <sjg@chromium.org> | 2019-09-25 08:56:46 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-10-08 13:57:48 +0800 |
commit | add3f4c9186fbd94b6e89c1d277b544a7a6ad404 (patch) | |
tree | a59d8963c9491687391aae34f638e344b919b665 /arch/xtensa | |
parent | 6ccb2f890bb5bfdd6aed4a99294fd77508436c40 (diff) |
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>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions