fip_create: don't succeed if one of the passed files doesn't exist
If one of the files passed to fip_create on the command line doesn't
exist, it will print an error message but produce an incomplete
fip.bin file and report success. This behaviour could potentially
hide errors made in the command line arguments.

This patch addresses the issue by having the tool bail out if one of
the supplied files can't be processed.

Signed-off-by: Kévin Petit <kevin.petit@arm.com>

Fixes ARM-software/tf-issues#279

Change-Id: I1c7d87d09eb4c063005b7969bdaad1d043c29dec
1 parent 29e32cb commit 38410f801f75bcbaf1dde0887d916b5e2c4eefd9
@Kévin Petit Kévin Petit authored on 8 Dec 2014
Sandrine Bailleux committed on 10 Dec 2014
Showing 1 changed file
View
tools/fip_create/fip_create.c