soc/intel/common: Make get_ramtop_addr non static
Make get_ramtop_addr not static to allow other code to use it. Bug=b:276120526 TEST=Able to build rex Signed-off-by: Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com> Change-Id: I8ef8a65b93645f25ca5e887342b18679d65e74b4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75624 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
committed by
Felix Held
parent
e23c8038f8
commit
ea66c9899b
@ -11,4 +11,7 @@ void early_ramtop_enable_cache_range(void);
|
|||||||
/* Update the RAMTOP if required based on the input top_of_ram address */
|
/* Update the RAMTOP if required based on the input top_of_ram address */
|
||||||
void update_ramtop(uint32_t addr);
|
void update_ramtop(uint32_t addr);
|
||||||
|
|
||||||
|
/* Get RAMTOP */
|
||||||
|
uint32_t get_ramtop_addr(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -104,7 +104,7 @@ void update_ramtop(uint32_t addr)
|
|||||||
printk(BIOS_DEBUG, "Updated the RAMTOP address into CMOS 0x%x\n", ramtop.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;
|
struct ramtop_table ramtop;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user