Revert "cpu/x86/mtrr: Make useful MTRR functions available for all boot stages"
commit460936567f2ebd62f78dbb18e4bacab03ec5b056
authorArthur Heymans <arthur@aheymans.xyz>
Mon, 30 May 2022 16:56:39 +0000 (30 18:56 +0200)
committerArthur Heymans <arthur@aheymans.xyz>
Wed, 1 Jun 2022 09:49:05 +0000 (1 09:49 +0000)
treea0331a1f97de5fbab9459a4eb4719cee3959ed86
parent481599f2c8c7ca8a8fb351dd198587f0e6b855bd
Revert "cpu/x86/mtrr: Make useful MTRR functions available for all boot stages"

This code is only meant to be used in early stages so move it back to
earlymtrr.c.

This reverts commit 3ad00d0c89c9e7a8e9ef13b6dc65bb338a191ec8.

Change-Id: I9bc1ac4b863eb43d3e398e6462ee139a7751bf62
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64804
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/cpu/x86/mtrr/Makefile.inc
src/cpu/x86/mtrr/earlymtrr.c
src/cpu/x86/mtrr/mtrrlib.c [deleted file]