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:
Li-Ta Lo
2004-03-17 23:03:37 +00:00
parent e74ff463c4
commit 698f23db22
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);