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
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user