openwrt/target/linux/lantiq
Hauke Mehrtens e5612d6640 lantiq: spi: double time out tolerance
The generic SPI code calculates how long the issued transfer would take
and adds 100ms in addition to the timeout as tolerance. On my 500 MHz
Lantiq Mips SoC I am getting timeouts from the SPI like this when the
system boots up:

m25p80 spi32766.4: SPI transfer timed out
blk_update_request: I/O error, dev mtdblock3, sector 2
SQUASHFS error: squashfs_read_data failed to read block 0x6e

After increasing the tolerance for the timeout to 200ms I haven't seen
these SPI transfer time outs any more.
The Lantiq SPI driver in use here has an extra work queue in between,
which gets triggered when the controller send the last word and the
hardware FIFOs used for reading and writing are only 8 words long.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 6153248052)
2017-12-13 15:35:07 +01:00
..
base-files lantiq: remove lantiq_board_model, it is unused 2017-12-13 14:54:50 +01:00
dts lantiq: ARV752DPW22: fix wireless mac address 2017-10-18 22:14:25 +02:00
falcon build: remove mips16 feature flag from target makefiles 2017-01-24 13:35:45 +01:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image lantiq: use img file extension for DGN3500 factory images 2017-07-04 16:28:44 +02:00
patches-4.4 kernel: bump 4.4 to 4.4.103 for 17.01 2017-12-12 11:10:47 +01:00
patches-4.9 lantiq: spi: double time out tolerance 2017-12-13 15:35:07 +01:00
xrx200 build: remove mips16 feature flag from target makefiles 2017-01-24 13:35:45 +01:00
xway build: remove mips16 feature flag from target makefiles 2017-01-24 13:35:45 +01:00
xway_legacy build: remove mips16 feature flag from target makefiles 2017-01-24 13:35:45 +01:00
config-4.4 lantiq: add cpu temperatur sensor driver for xrx200 2016-08-03 15:30:13 +02:00
Makefile lantiq: remove CPU_TYPE:=mips32r2, it gets overwritten anyway 2017-01-24 13:35:47 +01:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00