mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Luc Verhaegen <libv@skynet.be>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user