diff options
-rw-r--r-- | util/cbfstool/bpdt_formats/bpdt_1_6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/bpdt_formats/bpdt_1_6.c b/util/cbfstool/bpdt_formats/bpdt_1_6.c index b894936543..c5cedd3d8b 100644 --- a/util/cbfstool/bpdt_formats/bpdt_1_6.c +++ b/util/cbfstool/bpdt_formats/bpdt_1_6.c @@ -69,7 +69,7 @@ static bpdt_hdr_ptr create_bpdt_hdr(void) h->fit_tool_version.build = 0; h->fit_tool_version.hotfix = 0; - return 0; + return h; } static void print_bpdt_hdr(const bpdt_hdr_ptr ptr) @@ -159,7 +159,7 @@ static cse_layout_ptr create_cse_layout(const struct region *r) l->bp3_size = r[BP3].size; l->checksum = 0; /* unused */ - return 0; + return l; } static void print_cse_layout(const cse_layout_ptr ptr) |