mtd: nand: gpio: make nCE GPIO optional
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 10 Feb 2017 14:01:10 +0000 (15:01 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 16 Mar 2017 09:34:27 +0000 (10:34 +0100)
commit44dd182861f99f04171256f29b9dc51940757e5d
treeb63db2eb4070eb0016667ad3779345c49fab3410
parent01eb9ae1aeaf776653a861bb38aaa816a911da58
mtd: nand: gpio: make nCE GPIO optional

On some hardware, the nCE signal is wired to the ChipSelect associated
to bus address of the NAND, so it is automatically driven during the
memory access and it is not managed by a GPIO.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/gpio.c