export get_cbfs_header()

Change-Id: I4b6afcee3d0d169e03165a7fb48cfaef2e8253e2
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/157
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Sven Schnelle 2011-08-17 18:10:11 +02:00 committed by Patrick Georgi
parent c643fdd157
commit d819853f85
2 changed files with 2 additions and 1 deletions

View File

@ -176,5 +176,6 @@ void *cbfs_find_file(const char *name, int type);
/* returns 0 on success, -1 on failure */ /* returns 0 on success, -1 on failure */
int cbfs_decompress(int algo, void *src, void *dst, int len); int cbfs_decompress(int algo, void *src, void *dst, int len);
struct cbfs_header *get_cbfs_header(void);
#endif #endif

View File

@ -55,7 +55,7 @@
/* returns pointer to master header or 0xffffffff if not found */ /* returns pointer to master header or 0xffffffff if not found */
static struct cbfs_header *get_cbfs_header(void) struct cbfs_header *get_cbfs_header(void)
{ {
struct cbfs_header *header; struct cbfs_header *header;