diff options
author | Subrata Banik <subratabanik@google.com> | 2022-04-08 13:25:49 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-13 21:28:31 +0000 |
commit | 3e4e4abb61cab420eaad1f59b1e24d2b30b77125 (patch) | |
tree | e13af1553bd42c5c78f3890134b783e2adf8bcc5 /src/soc | |
parent | 00aaffaf470adfbaa0fbfa0ec3cc67311763810b (diff) |
cpu/x86/mtrr: Use `need_restore_mtrr` to set put_back_original_solution
This patch calls into need_restore_mtrr() from the mtrr_use_temp_range
function to set `put_back_original_solution` to discard any temporary
MTRR range prior to boot to payload.
BUG=b:225766934
TEST=Able to build and boot google/brya to verify that
`remove_temp_solution()` is able to discard any temporary MTRR range
before booting to payload.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I2e00ec593847e1eb173d5ac77b15b50342860f89
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63491
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/soc')
0 files changed, 0 insertions, 0 deletions