summaryrefslogtreecommitdiff
path: root/drivers/spi/cf_spi.c
diff options
context:
space:
mode:
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>2016-11-29 12:58:33 +0000
committerJagan Teki <jagan@amarulasolutions.com>2016-12-15 16:57:27 +0100
commit22e63ff3a23d189187d96dbcec50e94233027b3a (patch)
tree9534e2b608fbe4987f92c30ea29ff6e8503e8a69 /drivers/spi/cf_spi.c
parent3c5695321929d3c3d1936cb8a7773566af0886b5 (diff)
downloadu-boot-imx-22e63ff3a23d189187d96dbcec50e94233027b3a.zip
u-boot-imx-22e63ff3a23d189187d96dbcec50e94233027b3a.tar.gz
u-boot-imx-22e63ff3a23d189187d96dbcec50e94233027b3a.tar.bz2
spi: cadence_qspi: Fix CS timings
The Cadence QSPI controller has specified overheads for the various CS times that are in addition to those programmed in to the Device Delay register. The overheads are different for the delays. In addition, the existing code does not handle the case when the delay is less than a SCLK period. This change accurately calculates the additional delays in Ref clocks. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/spi/cf_spi.c')
0 files changed, 0 insertions, 0 deletions