cbfstool: Deduplicate code to merge empty files
commit4d1c5aa9f7f61fcc7969391f53a66026cb657a3f
authorPatrick Georgi <pgeorgi@chromium.org>
Fri, 17 Jul 2015 20:07:26 +0000 (17 22:07 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Sat, 18 Jul 2015 13:28:33 +0000 (18 15:28 +0200)
tree1804969ed43054d33a6837343d15fa50ce141feb
parent0d618afc84db49e2248f9dff6ba21055830bc202
cbfstool: Deduplicate code to merge empty files

The code for removing a file had its own merge routine. Use the generic one
instead.

Change-Id: I90ed007ab86f78a2728f529fa0143c5c1dfbbdc3
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/10967
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
util/cbfstool/cbfs_image.c