* 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) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3393 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
20e0599e69
commit
a1dd9142c6
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user