mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
Mine AMIC flash chip needs 4 bytes RDID
Following patch adds support for that. Corresponding to flashrom svn r283 and coreboot v2 svn r3399. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
1
flash.h
1
flash.h
@ -403,6 +403,7 @@ extern char *lb_part, *lb_vendor;
|
||||
|
||||
/* spi.c */
|
||||
int probe_spi_rdid(struct flashchip *flash);
|
||||
int probe_spi_rdid4(struct flashchip *flash);
|
||||
int probe_spi_res(struct flashchip *flash);
|
||||
int spi_command(unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr);
|
||||
void spi_write_enable();
|
||||
|
Reference in New Issue
Block a user