From e01742bf3df1d1d7f74c4f5beac4b1a50110d9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 28 Jun 2023 06:16:27 +0300 Subject: cpu/x86: Reduce scope of MTRR functions used locally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic00358ee5b05d011a95d85ec355adef71c39a529 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/76193 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/cpu/x86/mtrr/mtrr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index d156d4112d..a3a89fe0cd 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -346,13 +346,13 @@ static void commit_fixed_mtrrs(void) fixed_mtrrs_hide_amd_rwdram(); } -void x86_setup_fixed_mtrrs_no_enable(void) +static void x86_setup_fixed_mtrrs_no_enable(void) { calc_fixed_mtrrs(); commit_fixed_mtrrs(); } -void x86_setup_fixed_mtrrs(void) +static void x86_setup_fixed_mtrrs(void) { x86_setup_fixed_mtrrs_no_enable(); -- cgit v1.2.3