From 2bdc0d0bd6de826588d5ceda139d021922db5e48 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Sun, 2 Feb 2014 22:13:31 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/5104 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel --- util/cbfstool/cbfs.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'util/cbfstool/cbfs.h') 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, -- cgit v1.2.3