diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-03-05 12:12:09 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-03-13 05:28:44 +0100 |
commit | 54ef306377024bea83ffe0622c9a53ab4f4f5ec1 (patch) | |
tree | 418f13ae20a5aa7557bad3131f75b31f6cc1a74f /util/cbfstool/cbfs.h | |
parent | aa8784c2d140c373b6edaf20192a9ed0669f0956 (diff) | |
download | coreboot-54ef306377024bea83ffe0622c9a53ab4f4f5ec1.tar.gz coreboot-54ef306377024bea83ffe0622c9a53ab4f4f5ec1.tar.bz2 coreboot-54ef306377024bea83ffe0622c9a53ab4f4f5ec1.zip |
cbfstool: add eflparsing.h
elfparsing.h serves as the header to working with the elf
parser. Additionally, only include what is needed by the other
files. Many had no reason to be including elf.h aside from fixing
compilation problems when including cbfs.h.
Change-Id: I9eb5f09f3122aa18beeca52d2e4dc2102d70fb9d
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/5370
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'util/cbfstool/cbfs.h')
-rw-r--r-- | util/cbfstool/cbfs.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index 18396461624a..a561b2b80bbe 100644 --- a/util/cbfstool/cbfs.h +++ b/util/cbfstool/cbfs.h @@ -20,7 +20,6 @@ #define __CBFS_H #include <stdint.h> -#include "elf.h" /* create a magic number in host-byte order. * b3 is the high order byte. @@ -129,14 +128,6 @@ uint32_t get_cbfs_compression(const char *name, uint32_t unknown); /* common.c */ void cbfs_file_get_header(struct buffer *buf, struct cbfs_file *file); -/* elfheaders.c */ -int -elf_headers(const struct buffer *pinput, - uint32_t arch, - Elf64_Ehdr *ehdr, - Elf64_Phdr **pphdr, - Elf64_Shdr **pshdr); - /* cbfs-mkpayload.c */ void xdr_segs(struct buffer *output, struct cbfs_payload_segment *segs, int nseg); |