diff options
author | Furquan Shaikh <furquan@google.com> | 2014-10-30 11:44:20 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2014-11-04 00:52:33 +0100 |
commit | 405304aca34b3dab949e616486bb60a52fd5dae0 (patch) | |
tree | 1c8de61c28b31bdfa9e0cd07433dd3a7d266de4c /util/cbfstool/common.h | |
parent | cc6f84c4116acc81b2c51c37ab7adb426fdf491e (diff) |
cbfstool: Add option to ignore section in add-stage
Allow add-stage to have an optional parameter for ignoring any section. This is
required to ensure proper operation of elf_to_stage in case of loadable segments
with zero filesize.
Change-Id: I49ad62c2a4260ab9cec173c80c0f16923fc66c79
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/7304
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'util/cbfstool/common.h')
-rw-r--r-- | util/cbfstool/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cbfstool/common.h b/util/cbfstool/common.h index 02a088b98d..41659a268e 100644 --- a/util/cbfstool/common.h +++ b/util/cbfstool/common.h @@ -139,7 +139,8 @@ int parse_flat_binary_to_payload(const struct buffer *input, comp_algo algo); /* cbfs-mkstage.c */ int parse_elf_to_stage(const struct buffer *input, struct buffer *output, - uint32_t arch, comp_algo algo, uint32_t *location); + uint32_t arch, comp_algo algo, uint32_t *location, + const char *ignore_section); void print_supported_filetypes(void); |