commit | 4fb2536e5b17de99cfc44e985a1f617b1dfc0a22 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 15 21:38:36 2023 -0600 |
committer | Bin Meng <bmeng@tinylab.org> | Mon Jul 17 17:08:44 2023 +0800 |
tree | 454cf97dea9f484ba513be29130cad3c3912f30b | |
parent | 3693d348958f2d6339adb20489dd31bc08ddde83 [diff] |
x86: Allow listing MTRRs in SPL Move MTRR-listing code into a common file so it can be used from SPL. Update the 'mtrr' command to call it. Use this in SPL just before adjusting the MTRRs, so we can see the state set up by the board. Only show it when debug is enabled. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>