From: Saeed Bishara Date: Tue, 8 Jun 2010 11:30:37 +0000 (+0300) Subject: [ARM] Kirkwood: configure NAND mpp's for db88f6281 X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~25344^2^2~5^2~11 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=29333cfae728de0ff0dd09a476b97ea49ce9eedb;p=mirror_ubuntu-focal-kernel.git [ARM] Kirkwood: configure NAND mpp's for db88f6281 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 Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c index 39bdf4bcace9..db93504aafbc 100644 --- a/arch/arm/mach-kirkwood/db88f6281-bp-setup.c +++ b/arch/arm/mach-kirkwood/db88f6281-bp-setup.c @@ -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