From 2c628f1652fb0ca28a1fc6c43225475362b50fc7 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 14 Jul 2017 15:42:35 -0600 Subject: soc/intel/skylake: remove top_of_32bit_ram() declaration It should never be globally exposed. Remove the global symbol and make it static. Change-Id: I3b85f3bbf6a73d480cdefdcdec26e137e3a3f75f Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/20584 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Subrata Banik --- src/soc/intel/skylake/memmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/skylake/memmap.c') diff --git a/src/soc/intel/skylake/memmap.c b/src/soc/intel/skylake/memmap.c index 17dbc320c6..43faabb011 100644 --- a/src/soc/intel/skylake/memmap.c +++ b/src/soc/intel/skylake/memmap.c @@ -137,7 +137,7 @@ int smm_subregion(int sub, void **start, size_t *size) * other words, the memory map is in a fixed order no matter what. */ -u32 top_of_32bit_ram(void) +static u32 top_of_32bit_ram(void) { msr_t prmrr_base; u32 top_of_ram; -- cgit v1.2.3