summaryrefslogtreecommitdiffstats
path: root/sst_fwhub.c
diff options
context:
space:
mode:
authorOllie Lho <ollie@sis.com.tw>2004-12-07 17:19:04 +0000
committerOllie Lho <ollie@sis.com.tw>2004-12-07 17:19:04 +0000
commitd11f36180814c45b82142b168c95c6515278a926 (patch)
tree4ba8e20b6ff46368133403fe87aa91565d9499da /sst_fwhub.c
parent98bea8aba5a1dad1abc2b1d191f873e1d45d5b50 (diff)
downloadast2050-flashrom-d11f36180814c45b82142b168c95c6515278a926.zip
ast2050-flashrom-d11f36180814c45b82142b168c95c6515278a926.tar.gz
Enable LPC decoding for 1 MB more addresss, for supporting SST49LF00xA/B
Corresponding to flashrom svn r28 and coreboot v2 svn r1813.
Diffstat (limited to 'sst_fwhub.c')
-rw-r--r--sst_fwhub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sst_fwhub.c b/sst_fwhub.c
index 909e394..71f5d33 100644
--- a/sst_fwhub.c
+++ b/sst_fwhub.c
@@ -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) {
OpenPOWER on IntegriCloud