commit | ccf8c6c79444108b45ed82d96b18cbdb6a8d2cff | [log] [tgz] |
---|---|---|
author | Peter Stuge <peter@stuge.se> | Fri Jan 23 05:23:06 2009 +0000 |
committer | Peter Stuge <peter@stuge.se> | Fri Jan 23 05:23:06 2009 +0000 |
tree | b7417fb2e24f15ed90e8102301ff365a71852878 | |
parent | 72c9668b9535bfe40d3e321faa26cfe5bb9a44b3 [diff] [blame] |
Check all mmap() calls and print helpful Linux error message Corresponding to flashrom svn r386 and coreboot v2 svn r3890. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
diff --git a/flash.h b/flash.h index 282a44d..3d86836 100644 --- a/flash.h +++ b/flash.h
@@ -480,6 +480,7 @@ #define printf_debug(x...) { if (verbose) printf(x); } /* flashrom.c */ +void mmap_errmsg(); int map_flash_registers(struct flashchip *flash); /* layout.c */