summaryrefslogtreecommitdiff
path: root/util/cbfstool/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/create.c')
-rw-r--r--util/cbfstool/create.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/util/cbfstool/create.c b/util/cbfstool/create.c
index 23e7850952..ecfb21c956 100644
--- a/util/cbfstool/create.c
+++ b/util/cbfstool/create.c
@@ -59,11 +59,8 @@ int create_handler(struct rom *rom, int argc, char **argv)
return -1;
}
- if (create_rom(rom, rom->name, size, bootblocksize, align))
+ if (create_rom(rom, rom->name, size, bootblock, bootblocksize, align))
return -1;
- if (bootblock != NULL)
- return add_bootblock(rom, bootblock);
-
return 0;
}