summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfstool.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/cbfstool.c')
-rw-r--r--util/cbfstool/cbfstool.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 41df15745a..80331e7e37 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -118,7 +118,8 @@ static int cbfs_add_component(const char *cbfs_name,
const char *name,
uint32_t type,
uint32_t offset,
- convert_buffer_t convert) {
+ convert_buffer_t convert)
+{
struct cbfs_image image;
struct buffer buffer;
@@ -194,7 +195,9 @@ static int cbfstool_convert_mkstage(struct buffer *buffer, uint32_t *offset)
return 0;
}
-static int cbfstool_convert_mkpayload(struct buffer *buffer, uint32_t *offset) {
+static int cbfstool_convert_mkpayload(struct buffer *buffer,
+ unused uint32_t *offset)
+{
struct buffer output;
int ret;
/* per default, try and see if payload is an ELF binary */
@@ -222,7 +225,8 @@ static int cbfstool_convert_mkpayload(struct buffer *buffer, uint32_t *offset) {
}
static int cbfstool_convert_mkflatpayload(struct buffer *buffer,
- uint32_t *offset) {
+ unused uint32_t *offset)
+{
struct buffer output;
if (parse_flat_binary_to_payload(buffer, &output,
param.loadaddress,