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 abuild: Add option of starting with an existing defconfig file 2016-03-13 03:05:43 +01:00
acpi
amdfwtool util/amdfwtool: unify return values, verify the file open 2016-11-10 00:26:45 +01:00
amdtools
archive archive: build archive tool with HOSTCC 2016-03-08 17:40:05 +01:00
arm_boot_tools/mksunxiboot
autoport autoport: Add prompt for enabling unsafe inteltool glx option 2016-06-12 12:27:57 +02:00
bimgtool codebase: Change makefile $(shell pwd) commands to $(CURDIR) 2016-03-11 18:48:06 +01:00
board_status board_status: Abort early if the coreboot image doesn't exist 2016-05-18 00:17:18 +02:00
broadcom Add newlines at the end of all coreboot files 2016-08-01 21:43:56 +02:00
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 util/checklist: Place tables in proper boot order 2016-08-03 18:01:32 +02:00
chromeos util/chromeos: Make scripts executable 2016-07-30 19:34:20 +02:00
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 Rename VB_SOURCE to VBOOT_SOURCE for increased clarity 2016-07-27 17:26:05 +02:00
fuzz-tests
genbuild_h genbuild_h: Fix numeric comparison to remove error 2016-03-14 23:37:12 +01:00
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 intelmetool: Add the X99 ISA Bridge device id 2016-06-04 23:41:22 +02:00
inteltool util/inteltool: Remove unnecessary whitespace 2016-10-20 20:22:05 +02:00
intelvbttool intelvbttool: cope with errors in open() 2016-07-31 19:23:29 +02:00
ipqheader util: ipq40xx: Scripts to combine SBL and Coreboot ELFs 2016-05-09 09:36:27 +02:00
k8resdump
kconfig Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
lint util/lint/lint: Show lint script output as it's running 2016-10-27 22:20:22 +02:00
marvell
mma util/mma: changing BOOT_STUB to COREBOOT region and few more things 2016-05-10 22:59:36 +02:00
msrtool util/msrtool: Use tabs for indents 2016-10-19 17:02:07 +02:00
mtkheader
nvidia util/nvidia/cbootimage: update to latest master 2016-03-16 15:02:50 +01:00
nvramtool nvramtool: Don't consider reserved regions to be "out of range" 2016-07-31 19:07:43 +02:00
optionlist
post util: Add a very simple utility to test POST cards. 2016-02-26 07:00:33 +01:00
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 rockchip: update make_idb.py 2016-03-16 15:24:10 +01:00
romcc romcc.1: Point bug reporters to the coreboot ML / bug tracker 2016-05-01 16:29:09 +02:00
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 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
superiotool superiotool: Add undocumented registers of ITE IT8783E/F 2016-10-31 20:29:56 +01:00
uio_usbdebug
vgabios Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
viatool viatool/quirks: Add newline to end of file 2016-07-28 20:18:10 +02:00
xcompile util/xcompile/xcompile: Add a space before `&&` 2016-10-28 20:16:13 +02:00