mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Fix bug introduced in AAI code rewrite (r1052)
The AAI code rewrite in r1052 introduced a bug: The writelen of AAI continuation is 3 bytes, but the code incorrectly had 6 bytes there. This causes all AAI writes (except the first two bytes of a chip) to fail. Thanks to den_m for reporting the bug and for testing the fix. Corresponding to flashrom svn r1121. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
parent
04e18bea9f
commit
d99b8d3b6e
2
spi.h
2
spi.h
@ -115,7 +115,7 @@
|
||||
/* Write AAI word (SST25VF080B) */
|
||||
#define JEDEC_AAI_WORD_PROGRAM 0xad
|
||||
#define JEDEC_AAI_WORD_PROGRAM_OUTSIZE 0x06
|
||||
#define JEDEC_AAI_WORD_PROGRAM_CONT_OUTSIZE 0x06
|
||||
#define JEDEC_AAI_WORD_PROGRAM_CONT_OUTSIZE 0x03
|
||||
#define JEDEC_AAI_WORD_PROGRAM_INSIZE 0x00
|
||||
|
||||
/* Error codes */
|
||||
|
Loading…
x
Reference in New Issue
Block a user