summaryrefslogtreecommitdiff
path: root/src/include/cbfs.h
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/include/cbfs.h
parent26681ec2cbe6d7f0b6a441ec817ad0d0a8ddeef9 (diff)
downloadcoreboot-d914412beca76f97fe2f4a5bdbefdfcc398f72c1.tar.xz
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/include/cbfs.h')
-rw-r--r--src/include/cbfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbfs.h b/src/include/cbfs.h
index 05ce2f7f31..1d7917cf31 100644
--- a/src/include/cbfs.h
+++ b/src/include/cbfs.h
@@ -60,6 +60,8 @@ void *cbfs_load_stage_by_offset(struct cbfs_media *media, ssize_t offset);
/* Load a stage from a prog structure. Returns < 0 on error. 0 on success. */
struct prog;
int cbfs_load_prog_stage(struct cbfs_media *media, struct prog *prog);
+int cbfs_load_prog_stage_by_offset(struct cbfs_media *media,
+ struct prog *prog, ssize_t offset);
/* Simple buffer for streaming media. */
struct cbfs_simple_buffer {