X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=util%2Fflashrom%2Fsst_fwhub.c;h=ab541e41f886cee7c345349979cb4a295fbd3ec5;hb=2f110a80068fc35207e8d3b4cd9544f1c456a173;hp=2c2992e68237846a757086fa76499fa0c78ddc26;hpb=ac12ecd27a8e32a02193ea22dc36c89a060cc22e;p=coreboot.git diff --git a/util/flashrom/sst_fwhub.c b/util/flashrom/sst_fwhub.c index 2c2992e68..ab541e41f 100644 --- a/util/flashrom/sst_fwhub.c +++ b/util/flashrom/sst_fwhub.c @@ -51,7 +51,7 @@ int erase_sst_fwhub_block(struct flashchip *flash, int offset) volatile uint8_t *wrprotect = flash->virtual_registers + offset + 2; // clear write protect - writeb(0, wrprotect); + chip_writeb(0, wrprotect); erase_block_jedec(flash->virtual_memory, offset); toggle_ready_jedec(flash->virtual_memory);