From d819853f857f68dfd3661607d77ae5ccc7461e3b Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Wed, 17 Aug 2011 18:10:11 +0200 Subject: export get_cbfs_header() Change-Id: I4b6afcee3d0d169e03165a7fb48cfaef2e8253e2 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/157 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/cbfs_core.h | 1 + src/lib/cbfs_core.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3