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 <>
Acked-by: Uwe Hermann <>
1 file changed