summaryrefslogtreecommitdiff
path: root/src/lib/cbfs.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-05-01 16:48:54 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-05-05 17:49:27 +0200
commitd914412beca76f97fe2f4a5bdbefdfcc398f72c1 (patch)
tree8b736e55c96fdd13f7a81e87d4c8ee20889f287c /src/lib/cbfs.c
parent26681ec2cbe6d7f0b6a441ec817ad0d0a8ddeef9 (diff)
cbfs: make cbfs_load_prog_stage_by_offset() public
That function will be used by the vboot loader. Change-Id: I204c6cd5eede3645750b50fe3ed30d77c22dbf43 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10101 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/lib/cbfs.c')
-rw-r--r--src/lib/cbfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 88a292f26b..8239f07c83 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -74,7 +74,7 @@ void *cbfs_load_optionrom(struct cbfs_media *media, uint16_t vendor,
return dest;
}
-static int cbfs_load_prog_stage_by_offset(struct cbfs_media *media,
+int cbfs_load_prog_stage_by_offset(struct cbfs_media *media,
struct prog *prog, ssize_t offset)
{
struct cbfs_stage stage;