diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2008-06-30 21:45:17 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2008-06-30 21:45:17 +0000 |
commit | d8a7e7d043db8395c03aeeb23849a73ab066af8a (patch) | |
tree | 703e79e1e0b0cc110d7798352dcf3b4fbf23cdd5 /util/flashrom/flash.h | |
parent | 4a17e02003f40495b37393b017e7c9ea4bb85638 (diff) | |
download | coreboot-d8a7e7d043db8395c03aeeb23849a73ab066af8a.tar.xz |
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
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 98804def33..eb8b8ebd0c 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/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(); |