commit | 6ccb2f890bb5bfdd6aed4a99294fd77508436c40 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Sep 25 08:56:45 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 08 13:57:48 2019 +0800 |
tree | 4463ea41786f5b599be87c2868c1ed3f79244939 | |
parent | 12e927b0a842408467fe7dbe627ca350d2300348 [diff] |
x86: Refactor mtrr_commit() to allow for shared code Move the code that actually sets up the MTRR into another function so it can be used elsewhere in the file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>