]> git.sur5r.net Git - u-boot/commit
kirkwood_nand: claim MPP pins on the fly
authorChris Packham <judge.packham@gmail.com>
Mon, 1 Feb 2016 23:35:09 +0000 (12:35 +1300)
committerStefan Roese <sr@denx.de>
Wed, 6 Apr 2016 13:40:33 +0000 (15:40 +0200)
commit46a16bd895144617575c788d9c2554aeef76ac44
treee3229012a8e5f0f1b9ccb6b0571b7bd4634ca3a3
parent9fc56631a4f784ecaf860ae822d48580cd4317ed
kirkwood_nand: claim MPP pins on the fly

Claim the MPP pins for the NAND flash controller only when it's actually
being used. This allows the pins to be shared with the SPI interface
which already supports an equivalent on-access MPP reconfiguration.

Reviewed-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Scott Wood <oss@buserror.net>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/kirkwood_nand.c