summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/skylake/include/soc/systemagent.h3
-rw-r--r--src/soc/intel/skylake/memmap.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/intel/skylake/include/soc/systemagent.h b/src/soc/intel/skylake/include/soc/systemagent.h
index 96e6c6a81b..d8192a3e75 100644
--- a/src/soc/intel/skylake/include/soc/systemagent.h
+++ b/src/soc/intel/skylake/include/soc/systemagent.h
@@ -42,7 +42,4 @@
#define MCH_DDR_POWER_LIMIT_LO 0x58e0
#define MCH_DDR_POWER_LIMIT_HI 0x58e4
-/* Top of 32bit usable memory */
-u32 top_of_32bit_ram(void);
-
#endif
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;