Skip to content
Commit aaa21d3f authored by Vignesh R's avatar Vignesh R Committed by Jagan Teki
Browse files

spi: cadence_qspi_apb: Make flash writes 32 bit aligned

Make flash writes 32 bit aligned by using bounce buffers to deal with
non 32 bit aligned buffers.
This is required because as per TI K2G TRM[1], the external master is
only permitted to issue 32-bit data interface writes until the last word
of an indirect transfer. Otherwise indirect writes is known to fail
sometimes.

[1] http://www.ti.com/lit/ug/spruhy8g/spruhy8g.pdf



Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: default avatarSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Reviewed-by: default avatarJason Rush <jarush@gmail.com>
Acked-by: default avatarJason Rush <jarush@gmail.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent a743e2ba
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