]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] pxa: fix incorrect PCMCIA PSKTSEL pin configuration for spitz
authorEric Miao <eric.miao@marvell.com>
Sun, 16 Nov 2008 07:56:58 +0000 (15:56 +0800)
committerEric Miao <eric.miao@marvell.com>
Sun, 16 Nov 2008 08:03:13 +0000 (16:03 +0800)
The original incorrect configuration caused GPIO79_nCS_3 being overriden,
thus resulted in the NAND flash not being detected. The real PSKTSEL pin
is on GPIO104 instead of GPIO79.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
arch/arm/mach-pxa/spitz.c

index 51db9527f176463aa74544abb780506bc502cafd..3be76ee2bdbfd759b83eee07151ba7cf7917cc42 100644 (file)
@@ -67,6 +67,7 @@
 static unsigned long spitz_pin_config[] __initdata = {
        /* Chip Selects */
        GPIO78_nCS_2,   /* SCOOP #2 */
+       GPIO79_nCS_3,   /* NAND */
        GPIO80_nCS_4,   /* SCOOP #1 */
 
        /* LCD - 16bpp Active TFT */
@@ -97,10 +98,10 @@ static unsigned long spitz_pin_config[] __initdata = {
        GPIO51_nPIOW,
        GPIO85_nPCE_1,
        GPIO54_nPCE_2,
-       GPIO79_PSKTSEL,
        GPIO55_nPREG,
        GPIO56_nPWAIT,
        GPIO57_nIOIS16,
+       GPIO104_PSKTSEL,
 
        /* MMC */
        GPIO32_MMC_CLK,