1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

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

Corresponding to flashrom svn r28 and coreboot v2 svn r1813.
This commit is contained in:
Ollie Lho
2004-12-07 17:19:04 +00:00
parent 98bea8aba5
commit d11f361808
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) {