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:
parent
26681ec2cb
commit
d914412bec
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue