path: root/sst_fwhub.c
diff options
authorCarl-Daniel Hailfinger <>2009-09-23 22:01:33 +0000
committerCarl-Daniel Hailfinger <>2009-09-23 22:01:33 +0000
commita06287c9a04cfb055be958839ec18ce5e091c7fb (patch)
tree3fb7bd7382a884657b9eccce36d3f6f0a1583edf /sst_fwhub.c
parentc025268340dec1a53ba5e3117cc3245fa9c4a7ea (diff)
Switch SST49LF004A/B to block erase, remove the hack which simulated (unsupported) chip erase
Annotate SST49LF004B quirks for TBL#. Add TEST_OK_PRW which is useful when a PREW chip gets a new erase routine. Change a few erase function prototypes to use unsigned int instead of int. Corresponding to flashrom svn r731. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Luc Verhaegen <>
Diffstat (limited to 'sst_fwhub.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/sst_fwhub.c b/sst_fwhub.c
index e7ae9e9..ed45407 100644
--- a/sst_fwhub.c
+++ b/sst_fwhub.c
@@ -94,7 +94,7 @@ int probe_sst_fwhub(struct flashchip *flash)
return 1;
-int erase_sst_fwhub_block(struct flashchip *flash, int offset, int page_size)
+int erase_sst_fwhub_block(struct flashchip *flash, unsigned int offset, unsigned int page_size)
uint8_t blockstatus = clear_sst_fwhub_block_lock(flash, offset);
OpenPOWER on IntegriCloud