summaryrefslogtreecommitdiff
path: root/src/arch/x86/postcar_loader.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-04-29 14:20:05 -0600
committerFurquan Shaikh <furquan@google.com>2020-05-07 23:34:13 +0000
commite8936747eb9b2e9558a297841e6a4612f7988827 (patch)
tree6b129e4899704293a8aa2887a657a939b479e361 /src/arch/x86/postcar_loader.c
parent6d592c623f0c1b2f1ca6d2676ab63d04d6e3235a (diff)
downloadcoreboot-e8936747eb9b2e9558a297841e6a4612f7988827.tar.xz
arch/x86: unexpose postcar_frame_common_mtrrs()
The only caller is contained within the postcar_loader compilation unit. Therefore, remove postcar_frame_common_mtrrs() from the global symbol namespace. Change-Id: I90d308669d13eb2bebf1eca4d47e3f3b4f178714 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41101 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/arch/x86/postcar_loader.c')
-rw-r--r--src/arch/x86/postcar_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/postcar_loader.c b/src/arch/x86/postcar_loader.c
index 2efa7ac178..1852eddf23 100644
--- a/src/arch/x86/postcar_loader.c
+++ b/src/arch/x86/postcar_loader.c
@@ -111,7 +111,7 @@ void postcar_frame_add_romcache(struct postcar_frame *pcf, int type)
postcar_frame_add_mtrr(pcf, CACHE_ROM_BASE, CACHE_ROM_SIZE, type);
}
-void postcar_frame_common_mtrrs(struct postcar_frame *pcf)
+static void postcar_frame_common_mtrrs(struct postcar_frame *pcf)
{
if (pcf->skip_common_mtrr)
return;