summaryrefslogtreecommitdiffstats
path: root/sst_fwhub.c
diff options
context:
space:
mode:
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