Add some error handling to makedpfw

makedpfw didn't do proper error handling when writing the output file.
Notify the user and bail out if something goes wrong.

Change-Id: I3df6d126203cda6057f6959b6cb0421aed067fad
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://review.coreboot.org/23366
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
1 file changed