projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
trivial patch for abuild: allow powerpc-elf-gcc, too.
[coreboot.git]
/
util
/
flashrom
/
sst_fwhub.c
diff --git
a/util/flashrom/sst_fwhub.c
b/util/flashrom/sst_fwhub.c
index 2c2992e68237846a757086fa76499fa0c78ddc26..ab541e41f886cee7c345349979cb4a295fbd3ec5 100644
(file)
--- 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);