[coreboot-gerrit] New patch to review for coreboot: drivers/intel/fsp1_1: Update weak MRC cache routines

Leroy P Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Wed Jun 1 03:51:56 CEST 2016


Leroy P Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15042

-gerrit

commit b098ccca03adc2708f32469bc1a2c8d374dbf169
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Tue May 31 18:12:53 2016 -0700

    drivers/intel/fsp1_1: Update weak MRC cache routines
    
    Update the weak functions for the MRC cache.
    
    TEST=Build and run on Galileo Gen2
    
    Change-Id: I54a1252cfff1a2f68b163f0feb65e2bceb37f6a9
    Signed-off-by: Lee Leahy <leroy.p.leahy at intel.com>
---
 src/drivers/intel/fsp1_1/romstage.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/drivers/intel/fsp1_1/romstage.c b/src/drivers/intel/fsp1_1/romstage.c
index c035f60..6584c55 100644
--- a/src/drivers/intel/fsp1_1/romstage.c
+++ b/src/drivers/intel/fsp1_1/romstage.c
@@ -364,15 +364,16 @@ __attribute__((weak)) void mainboard_add_dimm_info(
 }
 
 /* Get the memory configuration data */
-__attribute__((weak)) int mrc_cache_get_current(
-	const struct mrc_saved_data **cache)
+__attribute__((weak)) int mrc_cache_get_current_with_version(
+	const struct mrc_saved_data **cache, uint32_t version)
 {
 	printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
 	return -1;
 }
 
 /* Save the memory configuration data */
-__attribute__((weak)) int mrc_cache_stash_data(const void *data, size_t size)
+__attribute__((weak)) int mrc_cache_stash_data_with_version(const void *data,
+	size_t size, uint32_t version)
 {
 	printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
 	return -1;



More information about the coreboot-gerrit mailing list