]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2e1d34d125455eb336ecb3c20c483d163ad8e85
tree341642274acd8f57cfc079c78346dced91528f4c
parent638a026f288a0ec81be37fd6cc9f14304724b0a7
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