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>
This commit is contained in:
Aaron Durbin
2015-05-01 16:48:54 -05:00
committed by Patrick Georgi
parent 26681ec2cb
commit d914412bec
2 changed files with 3 additions and 1 deletions

View File

@ -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;