1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

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>
This commit is contained in:
Peter Stuge
2009-01-23 05:23:06 +00:00
parent 72c9668b95
commit ccf8c6c794
4 changed files with 19 additions and 7 deletions

View File

@ -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 */