enable LPC decoding for 1 MB more addresss, for supporting SST49LF00xA/B

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1813 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Li-Ta Lo
2004-12-07 17:19:04 +00:00
parent bb7c3935c9
commit c48822ae91
3 changed files with 8 additions and 12 deletions

View File

@@ -80,6 +80,7 @@ int probe_sst_fwhub(struct flashchip *flash)
myusec_delay(10);
// we need to mmap the write-protect space.
printf("mapping control register at %x\n", 0 - 0x400000 -size);
bios = mmap(0, size, PROT_WRITE | PROT_READ, MAP_SHARED,
flash->fd_mem, (off_t) (0 - 0x400000 - size));
if (bios == MAP_FAILED) {