removed spd_dump.c, it has nothing to do with flashing flash parts.
use standard product ID exit method for w49f002u move udelay stuff into its own file git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1433 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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