summaryrefslogtreecommitdiff
path: root/util/flashrom/w49f002u.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/w49f002u.c')
-rw-r--r--util/flashrom/w49f002u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/w49f002u.c b/util/flashrom/w49f002u.c
index 9a698ae37c..2549501a3b 100644
--- a/util/flashrom/w49f002u.c
+++ b/util/flashrom/w49f002u.c
@@ -36,7 +36,7 @@ int write_49f002(struct flashchip *flash, uint8_t *buf)
int i;
int total_size = flash->total_size * 1024;
int page_size = flash->page_size;
- volatile uint8_t *bios = flash->virt_addr;
+ volatile uint8_t *bios = flash->virtual_memory;
erase_chip_jedec(flash);