mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-06 00:00:40 +02:00
Use standard product ID exit method for w49f002u
Corresponding to flashrom svn r7 and coreboot v2 svn r1433.
This commit is contained in:
@ -116,7 +116,7 @@ struct flashchip * probe_flash(struct flashchip * flash)
|
||||
}
|
||||
bios = mmap (0, size, PROT_WRITE | PROT_READ, MAP_SHARED,
|
||||
//fd_mem, (off_t) (0x100000000-size));
|
||||
fd_mem, (off_t) (0x0-size));
|
||||
fd_mem, (off_t) (0xffffffff-size+1));
|
||||
if (bios == MAP_FAILED) {
|
||||
perror("Error MMAP /dev/mem");
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user