diff options
author | Simon Glass <sjg@chromium.org> | 2021-06-27 17:51:01 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2021-07-15 19:50:00 +0800 |
commit | 92873f83d19fa8cedcace2b4c384e6b89ffd5faf (patch) | |
tree | 831b4cb5c7d2d7a4e97485b91ba6a291c08db3bd /arch/x86/lib/init_helpers.c | |
parent | bca2d579f415140adcf984c5517aa2d14af2c0db (diff) |
x86: Don't set up MTRRs if previously done
When starting U-Boot from a previous-stage bootloader we presumably don't
need to set up the variable MTRRs. In fact this could be harmful if the
existing settings are not what U-Boot uses.
Skip that step in this case.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib/init_helpers.c')
0 files changed, 0 insertions, 0 deletions