summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfs.h
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-02 22:13:31 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-04 19:37:41 +0100
commit2bdc0d0bd6de826588d5ceda139d021922db5e48 (patch)
tree37a1270a5346b3843957a49785fde7155bd33b6c /util/cbfstool/cbfs.h
parentc677c7d6e43c1f88ddfbd86ff32c81425f665596 (diff)
downloadcoreboot-2bdc0d0bd6de826588d5ceda139d021922db5e48.tar.xz
cbfstool: Remove more unused functions from common.c
A lot of the early functions have been re-implemented in a context- centric mode, rather than relying on global variables. Removing these has the nice side-effect of allowing us to remove more global variables. Change-Id: Iee716ef38729705432dd10d12758c886d38701a8 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5104 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/cbfstool/cbfs.h')
-rw-r--r--util/cbfstool/cbfs.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index 585a26d96c..92dd84ae84 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -119,7 +119,6 @@ struct cbfs_payload {
*/
#define CBFS_COMPONENT_NULL 0xFFFFFFFF
-int cbfs_file_header(unsigned long physaddr);
#define CBFS_NAME(_c) (((char *) (_c)) + sizeof(struct cbfs_file))
#define CBFS_SUBHEADER(_p) ( (void *) ((((uint8_t *) (_p)) + ntohl((_p)->offset))) )
/* cbfs_image.c */
@@ -127,12 +126,6 @@ uint32_t get_cbfs_entry_type(const char *name, uint32_t default_value);
const char *get_cbfs_entry_type_name(uint32_t type);
uint32_t get_cbfs_compression(const char *name, uint32_t unknown);
-/* common.c */
-int find_master_header(void *romarea, size_t size);
-void recalculate_rom_geometry(void *romarea);
-struct cbfs_file *cbfs_create_empty_file(uint32_t physaddr, uint32_t size);
-const char *strfiletype(uint32_t number);
-
/* elfheaders.c */
int
elf_headers(const struct buffer *pinput,