diff options
Diffstat (limited to 'util/cbfstool/util.c')
-rw-r--r-- | util/cbfstool/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cbfstool/util.c b/util/cbfstool/util.c index 8f2a65bd0c..b36e9187a0 100644 --- a/util/cbfstool/util.c +++ b/util/cbfstool/util.c @@ -218,6 +218,9 @@ int create_rom(struct rom *rom, const unsigned char *filename, ROM_WRITEL(rom, rom->size - 4, 0xFFFFFFF0 - bootblocksize - sizeof(struct cbfs_header)); + + /* write the empty header */ + rom_set_header(rom, (struct cbfs_file *)rom->ptr, "", -1, CBFS_COMPONENT_NULL); return 0; } |