mtd: rawnand: stm32_fmc2: add polling mode
authorChristophe Kerello <[email protected]>
Fri, 14 Dec 2018 09:58:08 +0000 (10:58 +0100)
committerMiquel Raynal <[email protected]>
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 <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
drivers/mtd/nand/raw/stm32_fmc2_nand.c