coreboot-kgpe-d16/util
Martin Roth 31d95a2eb2 util/amdfwtool: unify return values, verify the file open
- Return an error if the specified file could not be opened. To do this
cleanly, the return value was added.
- Since there's now a unified return value, use it where it makes sense.
- Don't return an error from --help.  If you've asked for usage, it's
not an error.

Change-Id: I7c712d1e1927c2d4957b044b87ad26475b7a0e3b
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://review.coreboot.org/17324
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2016-11-10 00:26:45 +01:00
..
abuild
acpi
amdfwtool util/amdfwtool: unify return values, verify the file open 2016-11-10 00:26:45 +01:00
amdtools
archive
arm_boot_tools/mksunxiboot
autoport
bimgtool
board_status
broadcom
cbfstool cbfstool: Fix typo in help text 2016-10-17 15:09:42 +02:00
cbmem cbmem: Exit with an errorlevel of 0 after printing help 2016-09-15 00:43:02 +02:00
checklist
chromeos
crossgcc crossgcc: Add Dockerfile 2016-09-26 21:47:52 +02:00
docker util/docker: Update docker files for coreboot-sdk & jenkins builders 2016-08-18 06:15:26 +02:00
dtd_parser
ectool
exynos
futility
fuzz-tests
genbuild_h
genprof
gitconfig Rename and move util/gitconfig/rebase.sh 2016-10-25 17:09:19 +02:00
ifdfake
ifdtool ifdtool: Add option to specify platform (-p) quirks 2016-11-08 23:11:29 +01:00
intelmetool
inteltool util/inteltool: Remove unnecessary whitespace 2016-10-20 20:22:05 +02:00
intelvbttool
ipqheader
k8resdump
kconfig
lint util/lint/lint: Show lint script output as it's running 2016-10-27 22:20:22 +02:00
marvell
mma
msrtool util/msrtool: Use tabs for indents 2016-10-19 17:02:07 +02:00
mtkheader
nvidia
nvramtool
optionlist
post
release util/release/build-release: Update tar command 2016-10-07 18:18:47 +02:00
riscvtools RISCV: change make-spike-elf to use the coreboot toolchain. 2016-10-15 00:34:27 +02:00
rockchip
romcc
sconfig sconfig: Reformat C code 2016-08-08 19:16:24 +02:00
scripts util/scripts: add copyright notices 2016-10-25 17:10:14 +02:00
showdevicetree
spkmodem_recv
superiotool superiotool: Add undocumented registers of ITE IT8783E/F 2016-10-31 20:29:56 +01:00
uio_usbdebug
vgabios
viatool
xcompile util/xcompile/xcompile: Add a space before `&&` 2016-10-28 20:16:13 +02:00