summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-06-27 16:28:34 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2008-06-27 16:28:34 +0000
commita9424d597de410b07e34c47d7c0613f0595d5d9a (patch)
tree16fc9db04f7ed29f19e454d979e9cc79216addc3 /flashrom.c
parent325b5d47d81fb4434e722abac9600396da394218 (diff)
downloadast2050-flashrom-a9424d597de410b07e34c47d7c0613f0595d5d9a.zip
ast2050-flashrom-a9424d597de410b07e34c47d7c0613f0595d5d9a.tar.gz
Multiple unrelated changes
* ICH7 SPI support * fix some variable names in ichspi.c (Offset -> offset) * Dump ICH7 SPI bar with -V * Improve error message in case IOPL goes wrong. (It might not even be an IOPL) Corresponding to flashrom svn r278 and coreboot v2 svn r3393. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashrom.c b/flashrom.c
index 2dc2de8..39ed19b 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -378,7 +378,7 @@ int main(int argc, char *argv[])
#else
if (iopl(3) != 0) {
#endif
- fprintf(stderr, "ERROR: iopl failed: \"%s\"\n",
+ fprintf(stderr, "ERROR: Could not get IO privileges (%s).\nYou need to be root.\n",
strerror(errno));
exit(1);
}
OpenPOWER on IntegriCloud