libpayload: export get_cbfs_header()
Keep in sync with coreboot's version. Change-Id: I8a253446bd3b2ce9d05c6076a3f49f0260ecd5f9 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/158 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
8d0b86c9ab
commit
b09e748f87
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue