fiptool: fix existence check of FIP input file for update command
This line should check the existence of the input file, but it is
actually checking the output file.  When -o option is given to the
"update" command, the outfile is unlikely to exist, then parse_fip()
is skipped and an empty FIP file is output.  This is wrong behavior.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent c38b36d commit 40866aaf1c60b31d46b1b969598e3403a4d8a6c1
@Masahiro Yamada Masahiro Yamada authored on 24 Dec 2016
Showing 1 changed file
View
tools/fiptool/fiptool.c