]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Refactor mtrr_commit() to allow for shared code
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:45 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:48 +0000 (13:57 +0800)
commit77a80869122599604c08c432773e311c8b0431ef
tree4463ea41786f5b599be87c2868c1ed3f79244939
parent634ab7cec2dda255da477b0df9492db5b9414310
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>
arch/x86/cpu/mtrr.c