diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/common/basecode/include/intelbasecode/ramtop.h | 3 | ||||
-rw-r--r-- | src/soc/intel/common/basecode/ramtop/ramtop.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h b/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h index 067dd6b270..fa3c8b1839 100644 --- a/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h +++ b/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h @@ -11,4 +11,7 @@ void early_ramtop_enable_cache_range(void); /* Update the RAMTOP if required based on the input top_of_ram address */ void update_ramtop(uint32_t addr); +/* Get RAMTOP */ +uint32_t get_ramtop_addr(void); + #endif diff --git a/src/soc/intel/common/basecode/ramtop/ramtop.c b/src/soc/intel/common/basecode/ramtop/ramtop.c index 83af44dbaa..90717e0025 100644 --- a/src/soc/intel/common/basecode/ramtop/ramtop.c +++ b/src/soc/intel/common/basecode/ramtop/ramtop.c @@ -104,7 +104,7 @@ void update_ramtop(uint32_t addr) printk(BIOS_DEBUG, "Updated the RAMTOP address into CMOS 0x%x\n", ramtop.addr); } -static uint32_t get_ramtop_addr(void) +uint32_t get_ramtop_addr(void) { struct ramtop_table ramtop; |