summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-03-22 19:46:16 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-23 19:34:15 +0100
commit2bd2e37536a7bc31023233cf3b7c6682cbd8176b (patch)
tree70ba4be5c5cfe30d5e7ea231fe59304032e01d45
parent73982c3c685395b74b611cde7f13f0145b8c0a4d (diff)
cbfs: fix relocation ramstage compiler errors
There were some cbfs calls that did not get transitioned to the new cbfs API. Fix the callsites to conform to the actual cbfs, thus fixing the copilation errors. Change-Id: Ia9fe2c4efa32de50982e21bd01457ac218808bd3 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2880 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/lib/cbfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 39e6c11000..aba1bcccf0 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -239,13 +239,13 @@ void * cbfs_load_stage(struct cbfs_media *media, const char *name)
ramstage = cbmem_entry_find(CBMEM_ID_RAMSTAGE);
if (ramstage == NULL)
- return load_stage_from_cbfs(name, handoff);
+ return load_stage_from_cbfs(media, name, handoff);
/* S3 resume path. Load a cached copy of the loaded ramstage. If
* return value is NULL load from cbfs. */
entry = load_cached_ramstage(handoff, ramstage);
if (entry == NULL)
- return load_stage_from_cbfs(name, handoff);
+ return load_stage_from_cbfs(media, name, handoff);
return entry;
}