Initialise correct GPMC WAITx irq for AM33xx
authorMark Jackson <mpfj-list@mimc.co.uk>
Thu, 21 Feb 2013 02:49:38 +0000 (02:49 +0000)
committerTom Rini <trini@ti.com>
Fri, 22 Mar 2013 14:57:00 +0000 (10:57 -0400)
Currently WAIT0 irq is reset and then WAIT1 irq is enabled.
Fix it such that WAIT0 irq is enabled instead.

Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
arch/arm/cpu/armv7/am33xx/mem.c

index b8f54ab..b86b0de 100644 (file)
@@ -83,7 +83,7 @@ void gpmc_init(void)
        /* global settings */
        writel(0x00000008, &gpmc_cfg->sysconfig);
        writel(0x00000100, &gpmc_cfg->irqstatus);
-       writel(0x00000200, &gpmc_cfg->irqenable);
+       writel(0x00000100, &gpmc_cfg->irqenable);
        writel(0x00000012, &gpmc_cfg->config);
        /*
         * Disable the GPMC0 config set by ROM code