diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-07-31 16:45:25 +0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2021-08-02 15:11:40 +0800 |
commit | 3bcd6cf89efee5c8088dce2f770bdd5592186efb (patch) | |
tree | 39745f1012ba41a5a594d2995a6f826d77803882 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | |
parent | 596bd0589ad8ee1df78133af740f1d29b235fb66 (diff) |
x86: mtrr: Skip MSRs that were already programmed in mtrr_commit()
At present mtrr_commit() programs the MTRR MSRs starting from
index 0, which may overwrite MSRs that were already programmed
by previous boot stage or FSP.
Switch to call mtrr_set_next_var() instead.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions