coreboot/util
Martin Roth 59cfbec004 UPSTREAM: 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.

BUG=None
BRANCH=None
TEST=None

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>

Change-Id: I7c712d1e1927c2d4957b044b87ad26475b7a0e3b
Reviewed-on: https://chromium-review.googlesource.com/410095
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-11-10 18:32:02 -08:00
..
abuild
acpi
amdfwtool UPSTREAM: util/amdfwtool: unify return values, verify the file open 2016-11-10 18:32:02 -08:00
amdtools
archive
arm_boot_tools/mksunxiboot
autoport UPSTREAM: autoport: Add prompt for enabling unsafe inteltool glx option 2016-06-13 15:55:28 -07:00
bimgtool
board_status UPSTREAM: board_status: Abort early if the coreboot image doesn't exist 2016-05-26 03:21:20 -07:00
broadcom UPSTREAM: Add newlines at the end of all coreboot files 2016-08-05 11:45:17 -07:00
cbfstool UPSTREAM: cbfstool: Fix typo in help text 2016-10-18 22:15:17 -07:00
cbmem UPSTREAM: cbmem: Exit with an errorlevel of 0 after printing help 2016-09-15 13:41:18 -07:00
checklist UPSTREAM: util/checklist: Place tables in proper boot order 2016-08-11 03:14:32 -07:00
chromeos UPSTREAM: util/chromeos: Make scripts executable 2016-08-04 23:36:47 -07:00
crossgcc UPSTREAM: crossgcc: Add Dockerfile 2016-09-28 05:49:22 -07:00
docker UPSTREAM: util/docker: Update docker files for coreboot-sdk & jenkins builders 2016-08-19 14:19:49 -07:00
dtd_parser
ectool
exynos
futility UPSTREAM: Rename VB_SOURCE to VBOOT_SOURCE for increased clarity 2016-07-28 22:56:11 -07:00
fuzz-tests
genbuild_h
genprof
gitconfig UPSTREAM: Rename and move util/gitconfig/rebase.sh 2016-10-25 14:46:55 -07:00
ifdfake
ifdtool UPSTREAM: ifdtool: Add option to specify platform (-p) quirks 2016-11-08 23:24:23 -08:00
intelmetool UPSTREAM: intelmetool: Add the X99 ISA Bridge device id 2016-06-06 23:35:00 -07:00
inteltool UPSTREAM: util/inteltool: Remove unnecessary whitespace 2016-10-24 23:30:50 -07:00
intelvbttool UPSTREAM: intelvbttool: cope with errors in open() 2016-08-04 23:37:52 -07:00
ipqheader util: ipq40xx: Scripts to combine SBL and Coreboot ELFs 2016-05-09 09:36:27 +02:00
k8resdump
kconfig UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00
lint UPSTREAM: util/lint/lint: Show lint script output as it's running 2016-10-29 15:16:30 -07:00
marvell
mma util/mma: changing BOOT_STUB to COREBOOT region and few more things 2016-05-10 22:59:36 +02:00
msrtool UPSTREAM: util/msrtool: Use tabs for indents 2016-10-19 14:06:44 -07:00
mtkheader
nvidia Make upstream tree CrOS SDK friendly 2016-05-12 15:42:17 -06:00
nvramtool UPSTREAM: nvramtool: Don't consider reserved regions to be "out of range" 2016-08-04 23:37:39 -07:00
optionlist
post
release UPSTREAM: util/release/build-release: Update tar command 2016-10-11 14:31:59 -07:00
riscvtools UPSTREAM: RISCV: change make-spike-elf to use the coreboot toolchain. 2016-10-18 22:14:47 -07:00
rockchip
romcc romcc.1: Point bug reporters to the coreboot ML / bug tracker 2016-05-01 16:29:09 +02:00
sconfig UPSTREAM: sconfig: Reformat C code 2016-08-13 20:28:32 -07:00
scripts UPSTREAM: util/scripts: add copyright notices 2016-10-25 14:46:57 -07:00
showdevicetree
spkmodem_recv
superiotool UPSTREAM: superiotool: Add undocumented registers of ITE IT8783E/F 2016-11-03 14:44:22 -07:00
uio_usbdebug
vgabios UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
viatool UPSTREAM: viatool/quirks: Add newline to end of file 2016-08-02 14:29:22 -07:00
xcompile UPSTREAM: util/xcompile/xcompile: Add a space before && 2016-10-29 15:16:47 -07:00