On 02.02.2009 05:12, Bao, Zheng wrote: > Signed-off-by: Zheng Bao <[email protected]> > > 3. When we read/write SPI, we use memory read/write instead of sending > SPI command. >
We have to be careful with SPI write. Some chips only support single-byte write, others allow 128-byte write and even others allow 256-byte write. I have a small patch which will allow using 8-byte writes on selected chips with SPI commands on SB600 and will send that patch soon. Regards, Carl-Daniel -- http://www.hailfinger.org/ -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

