summaryrefslogtreecommitdiffstats
path: root/lib/cmpdi2.c
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@st.com>2019-12-16 10:01:55 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-01-09 20:03:41 +0100
commit4114b17af41272e14939b000ce8f3ed7ba937e3c (patch)
tree5c4e41379e26f3ec11043b65342bcf06f775840d /lib/cmpdi2.c
parentc79f46a282390e0f5b306007bf7b11a46d529538 (diff)
downloadlinux-4114b17af41272e14939b000ce8f3ed7ba937e3c.tar.bz2
mtd: rawnand: stm32_fmc2: avoid to lock the CPU bus
We are currently using nand_soft_waitrdy to poll the status of the NAND flash. FMC2 enables the wait feature bit (this feature is mandatory for the sequencer mode). By enabling this feature, we can't poll the status of the NAND flash, the read status command is stucked in FMC2 pipeline until R/B# signal is high, and locks the CPU bus. To avoid to lock the CPU bus, we poll FMC2 ISR register. This register reports the status of the R/B# signal. Fixes: 2cd457f328c1 ("mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver") Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'lib/cmpdi2.c')
0 files changed, 0 insertions, 0 deletions