]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[ARM] Kirkwood: configure NAND mpp's for db88f6281
authorSaeed Bishara <saeed@marvell.com>
Tue, 8 Jun 2010 11:30:37 +0000 (14:30 +0300)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 17 Jul 2010 02:01:58 +0000 (22:01 -0400)
In case the board is configured to boot from spi flash, the mpps
will not be configured to select the NAND I/Os. This patch makes
sure to select the NAND I/O's regardless to the boot device type.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/mach-kirkwood/db88f6281-bp-setup.c

index 39bdf4bcace959322cc966d613cc976007dbe020..db93504aafbcfe86a3a4d2c0bc7fd488130077a1 100644 (file)
@@ -51,6 +51,14 @@ static struct mvsdio_platform_data db88f6281_mvsdio_data = {
 };
 
 static unsigned int db88f6281_mpp_config[] __initdata = {
+       MPP0_NF_IO2,
+       MPP1_NF_IO3,
+       MPP2_NF_IO4,
+       MPP3_NF_IO5,
+       MPP4_NF_IO6,
+       MPP5_NF_IO7,
+       MPP18_NF_IO0,
+       MPP19_NF_IO1,
        MPP37_GPIO,
        MPP38_GPIO,
        0