arch/x86/postcar_loader: utilize var_mtrr_context API
commite1bf0656afaf4cdbb9759178b6b2af21baba42d7
authorAaron Durbin <adurbin@chromium.org>
Fri, 29 May 2020 03:34:43 +0000 (28 21:34 -0600)
committerAaron Durbin <adurbin@chromium.org>
Tue, 2 Jun 2020 16:10:05 +0000 (2 16:10 +0000)
treebe803ec4e98d01f9a3faa457a9fdeb27dc33db3b
parentfa5eded303ac25c95ca4300ebfb4788c149bf2ab
arch/x86/postcar_loader: utilize var_mtrr_context API

Now that there is a generic solution in mtrr subsystem utilize
the API.

BUG=b:155426691,b:155322763

Change-Id: Ie349d5669808928c7470c99d25c57c784174b4e9
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41850
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/arch/x86/include/arch/romstage.h
src/arch/x86/postcar_loader.c
src/drivers/amd/agesa/mtrr_fixme.c