mtd: rawnand: stm32_fmc2: add polling mode
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 14 Dec 2018 09:58:08 +0000 (10:58 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 5 Feb 2019 14:39:37 +0000 (15:39 +0100)
commit33c8cf42152258450f2733c263a8fe8635517c68
tree911e5cef918eb4256773f3c8e7b16700af38f55e
parent2cd457f328c100bc98e36d55fe210e9ab067c704
mtd: rawnand: stm32_fmc2: add polling mode

This patch adds the polling mode, a basic mode that do not need
any DMA channels. This mode is also useful for debug purpose.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c