Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/75624?usp=email )
(
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: soc/intel/common: Make get_ramtop_addr non static ......................................................................
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 --- M src/soc/intel/common/basecode/include/intelbasecode/ramtop.h M src/soc/intel/common/basecode/ramtop/ramtop.c 2 files changed, 4 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Subrata Banik: Looks good to me, approved
diff --git a/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h b/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h index 067dd6b..fa3c8b1 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 @@ /* 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 83af44d..90717e0 100644 --- a/src/soc/intel/common/basecode/ramtop/ramtop.c +++ b/src/soc/intel/common/basecode/ramtop/ramtop.c @@ -104,7 +104,7 @@ 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;