[flashrom] [PATCH] AAI on SST chips

Tim Small tim at buttersideup.com
Mon Aug 1 22:24:57 CEST 2011


On 01/08/11 11:10, Noé Rubinstein wrote:
> +		.write		= spi_chip_write_1, /* datasheet says AAI using
> +						       0xAF ? */
> +		.write		= spi_chip_write_1, /* datasheet says AAI using
> +						       0xAF ? */
>   

These (SST25LF020A / SST25LF040A and SST25VF040) have an "AAI" mode
which only writes a single byte at a time, not two.

The AT26F004 has what looks like the same mode to me (same 0xAF opcode
too), and I wrote (and have tested) code to support that (
spi_at26_write_sequential ) in my AT26F004 patch (currently in the patch
queue - http://patchwork.coreboot.org/patch/3186/ ).

Googling for

+spi 0xAF

shows up a few other implementations (including one in the Linux kernel,
by the look of it).

Tim.




More information about the flashrom mailing list