summaryrefslogtreecommitdiff
path: root/util/flashrom/README
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-26 02:20:56 +0000
committerPeter Stuge <peter@stuge.se>2009-01-26 02:20:56 +0000
commit732a229a106d5e571ec2d30dcee87afe612452dc (patch)
tree4416a1a3535f896558e20e977a30df15700bd93e /util/flashrom/README
parent800621e0c5774761531c31a5f58a0e84a8878ef8 (diff)
flashrom: Document exit() codes introduced in r3907.
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Ward Vandewege <ward@gnu.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3908 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/README')
-rw-r--r--util/flashrom/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/flashrom/README b/util/flashrom/README
index 656468f734..8410d3ff5e 100644
--- a/util/flashrom/README
+++ b/util/flashrom/README
@@ -44,6 +44,12 @@ Usage
is that flash info is dumped and the flash chip is set to writable.
+Exit status
+-----------
+flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem
+(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails.
+
+
coreboot Table and Mainboard Identification
--------------------------------------------