summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-08-17 18:10:11 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-08-18 11:34:53 +0200
commitd819853f857f68dfd3661607d77ae5ccc7461e3b (patch)
tree8bbd6c9570b6df579cfb91bca4347701a0f29bd3 /src
parentc643fdd157bbd54d15276b212d1f3d0bf64cd3f9 (diff)
downloadcoreboot-d819853f857f68dfd3661607d77ae5ccc7461e3b.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/include/cbfs_core.h1
-rw-r--r--src/lib/cbfs_core.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/cbfs_core.h b/src/include/cbfs_core.h
index fbe0081517..70368f8a7d 100644
--- a/src/include/cbfs_core.h
+++ b/src/include/cbfs_core.h
@@ -176,5 +176,6 @@ void *cbfs_find_file(const char *name, int type);
/* returns 0 on success, -1 on failure */
int cbfs_decompress(int algo, void *src, void *dst, int len);
+struct cbfs_header *get_cbfs_header(void);
#endif
diff --git a/src/lib/cbfs_core.c b/src/lib/cbfs_core.c
index 52ba58ded7..596fa3ff72 100644
--- a/src/lib/cbfs_core.c
+++ b/src/lib/cbfs_core.c
@@ -55,7 +55,7 @@
/* 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;