mtd: nand: pxa3xx: enable NAND controller if the SoC needs it
authorMiquel Raynal <miquel.raynal@free-electrons.com>
Mon, 25 Sep 2017 14:53:51 +0000 (16:53 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 7 Oct 2017 09:28:07 +0000 (11:28 +0200)
commitfc256f5789cbb58bb5aa308a781be46a270bcd98
tree341642274acd8f57cfc079c78346dced91528f4c
parentb330213d98c357859b686b77ad0db9e98fe73763
mtd: nand: pxa3xx: enable NAND controller if the SoC needs it

Marvell recent SoCs like A7k/A8k do not boot with NAND flash
controller activated by default. Enabling the controller is a matter of
writing in a system controller register that may also be used for other
NAND related choices.

This change is needed to stay bootloader independent.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/pxa3xx_nand.c