mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Various JEDEC refactorings touching 82802ab.c, sharplhf00l04.c and stm50flw0x0x.c
Rename print_82802ab_status to print_status_82802ab add unlock_82802ab strip unlock code from erase_block_82802ab rename erase_82802ab_block to erase_block_80280ab delete sharplhf00l04.o from Makefile delete *_lhf00l04* from chipdrivers.h. add unlock_stm50flw0x0x delete wait_stm50flw0x0x delete write_page_stm50flw0x0x convert erase_stm50flw0x0x to erase_chip_stm50flw0x0x delete write_stm50flw0x0x add unlock_82802ab to two Intel chips with TEST_BAD_WRITE change the status of 82802AB, 82802AC, M50FW040, M50FW080 to TEST_OK_PR Corresponding to flashrom svn r948. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
@ -57,10 +57,11 @@ int spi_aai_write(struct flashchip *flash, uint8_t *buf);
|
||||
uint8_t wait_82802ab(chipaddr bios);
|
||||
int probe_82802ab(struct flashchip *flash);
|
||||
int erase_82802ab(struct flashchip *flash);
|
||||
int erase_82802ab_block(struct flashchip *flash, unsigned int page, unsigned int pagesize);
|
||||
int erase_block_82802ab(struct flashchip *flash, unsigned int page, unsigned int pagesize);
|
||||
int write_82802ab(struct flashchip *flash, uint8_t *buf);
|
||||
void print_82802ab_status(uint8_t status);
|
||||
void print_status_82802ab(uint8_t status);
|
||||
void write_page_82802ab(chipaddr bios, uint8_t *src, chipaddr dst, int page_size);
|
||||
int unlock_82802ab(struct flashchip *flash);
|
||||
|
||||
/* jedec.c */
|
||||
uint8_t oddparity(uint8_t val);
|
||||
@ -92,10 +93,6 @@ void write_page_m29f400bt(chipaddr bios, uint8_t *src,
|
||||
int unlock_49fl00x(struct flashchip *flash);
|
||||
int lock_49fl00x(struct flashchip *flash);
|
||||
|
||||
/* sharplhf00l04.c */
|
||||
int erase_lhf00l04_block(struct flashchip *flash, unsigned int blockaddr, unsigned int blocklen);
|
||||
int write_lhf00l04(struct flashchip *flash, uint8_t *buf);
|
||||
|
||||
/* sst28sf040.c */
|
||||
int erase_chip_28sf040(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
|
||||
int erase_sector_28sf040(struct flashchip *flash, unsigned int address, unsigned int sector_size);
|
||||
@ -124,11 +121,8 @@ int unlock_winbond_fwhub(struct flashchip *flash);
|
||||
int probe_w29ee011(struct flashchip *flash);
|
||||
|
||||
/* stm50flw0x0x.c */
|
||||
int probe_stm50flw0x0x(struct flashchip *flash);
|
||||
int erase_stm50flw0x0x(struct flashchip *flash);
|
||||
int erase_block_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsigned int blocksize);
|
||||
int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsigned int blocksize);
|
||||
int erase_chip_stm50flw0x0x(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
|
||||
int write_stm50flw0x0x(struct flashchip *flash, uint8_t *buf);
|
||||
int unlock_stm50flw0x0x(struct flashchip *flash);
|
||||
|
||||
#endif /* !__CHIPDRIVERS_H__ */
|
||||
|
Reference in New Issue
Block a user