summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-23 05:23:06 +0000
committerPeter Stuge <peter@stuge.se>2009-01-23 05:23:06 +0000
commit2e5481356f7e0f925dfe935e6d7a7f1cdd3681ec (patch)
tree9e1ce79349326615b1dc272c275b8b243d03e559 /util/flashrom/flash.h
parent8a681b1d840e701e41892f8375a15baf56107ab5 (diff)
downloadcoreboot-2e5481356f7e0f925dfe935e6d7a7f1cdd3681ec.tar.xz
flashrom: Check all mmap() calls and print helpful Linux error message.
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3890 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 282a44d8c7..3d86836a5a 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -480,6 +480,7 @@ extern int verbose;
#define printf_debug(x...) { if (verbose) printf(x); }
/* flashrom.c */
+void mmap_errmsg();
int map_flash_registers(struct flashchip *flash);
/* layout.c */