From d914412beca76f97fe2f4a5bdbefdfcc398f72c1 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 1 May 2015 16:48:54 -0500 Subject: 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 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10101 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/lib/cbfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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; -- cgit v1.2.3