Skip to content
Commit df16881c authored by Chris Packham's avatar Chris Packham Committed by Jagan Teki
Browse files

spi: kirkwood_spi: implement workaround for FE-9144572



Erratum NO. FE-9144572: The device SPI interface supports frequencies of
up to 50 MHz.  However, due to this erratum, when the device core clock
is 250 MHz and the SPI interfaces is configured for 50MHz SPI clock and
CPOL=CPHA=1 there might occur data corruption on reads from the SPI
device.

Implement the workaround by setting the TMISO_SAMPLE value to 0x2
in the timing1 register.

Signed-off-by: default avatarChris Packham <judge.packham@gmail.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent 36890ff0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment