mirror of https://gitee.com/openkylin/linux.git
aa7eee8a14
Sometimes when writing large size files to flash in direct/memory mapped
mode, it is seen that flash write enable command times out with error:
[ 503.146293] cadence-qspi 47040000.ospi: Flash command execution timed out.
This is because, we need to make sure previous direct write operation
is complete by polling for IDLE bit in CONFIG_REG before starting the
next operation.
Fix this by polling for IDLE bit after memory mapped write.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
aspeed-smc.c | ||
atmel-quadspi.c | ||
cadence-quadspi.c | ||
fsl-quadspi.c | ||
hisi-sfc.c | ||
intel-spi-pci.c | ||
intel-spi-platform.c | ||
intel-spi.c | ||
intel-spi.h | ||
mtk-quadspi.c | ||
nxp-spifi.c | ||
spi-nor.c | ||
stm32-quadspi.c |