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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user