1
0
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:
Ollie Lho
2004-03-17 23:03:37 +00:00
parent cbbf125981
commit cec287936c
4 changed files with 38 additions and 89 deletions

View File

@ -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);