Skip to content
Snippets Groups Projects
Commit 392bba4a authored by Tom Rini's avatar Tom Rini
Browse files

am33xx: Correct gpmc_cfg->irqstatus/enable


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: default avatarTom Rini <trini@ti.com>
parent ace4275e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment