Mine AMIC flash chip needs 4 bytes RDID. Following patch adds support for that.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3399 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -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