mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Fix Sharp LHF00L04
- Add eraseblock definitions - Use correct eraseblock sizes (the datasheet is a bit ambiguous) - Use correct probe function - Fill in probe timing There is a lot more stuff left to clean up, but at least probe and erase should work now. Corresponding to flashrom svn r837. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
This commit is contained in:
@ -53,6 +53,7 @@ int spi_read_chunked(struct flashchip *flash, uint8_t *buf, int start, int len,
|
||||
int spi_aai_write(struct flashchip *flash, uint8_t *buf);
|
||||
|
||||
/* 82802ab.c */
|
||||
uint8_t wait_82802ab(chipaddr bios);
|
||||
int probe_82802ab(struct flashchip *flash);
|
||||
int erase_82802ab(struct flashchip *flash);
|
||||
int write_82802ab(struct flashchip *flash, uint8_t *buf);
|
||||
@ -117,7 +118,7 @@ int write_49fl00x(struct flashchip *flash, uint8_t *buf);
|
||||
|
||||
/* sharplhf00l04.c */
|
||||
int probe_lhf00l04(struct flashchip *flash);
|
||||
int erase_lhf00l04(struct flashchip *flash);
|
||||
int erase_lhf00l04_block(struct flashchip *flash, unsigned int blockaddr, unsigned int blocklen);
|
||||
int write_lhf00l04(struct flashchip *flash, uint8_t *buf);
|
||||
void protect_lhf00l04(chipaddr bios);
|
||||
|
||||
|
Reference in New Issue
Block a user