]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
am33xx: Correct gpmc_cfg->irqstatus/enable
authorTom Rini <trini@ti.com>
Thu, 18 Jul 2013 19:13:02 +0000 (15:13 -0400)
committerTom Rini <trini@ti.com>
Tue, 30 Jul 2013 13:21:41 +0000 (09:21 -0400)
Based on our usage of the GPMC, either with NOR or NAND we do not need
to be setting the irqstatus or irqenable bits and should clear them like
we have historically.

Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/mem.c

index f81c9a8ba85736db8221d40210bc51c5e6eaef89..03e8c66c43c72e60206e4956212859f6321e98e2 100644 (file)
@@ -69,8 +69,8 @@ void gpmc_init(void)
 #endif
        /* global settings */
        writel(0x00000008, &gpmc_cfg->sysconfig);
-       writel(0x00000100, &gpmc_cfg->irqstatus);
-       writel(0x00000100, &gpmc_cfg->irqenable);
+       writel(0x00000000, &gpmc_cfg->irqstatus);
+       writel(0x00000000, &gpmc_cfg->irqenable);
        writel(0x00000012, &gpmc_cfg->config);
        /*
         * Disable the GPMC0 config set by ROM code