public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Initialise correct GPMC WAITx irq for AM33xx
@ 2013-02-21 12:49 Mark Jackson
  2013-02-21 13:04 ` Peter Korsgaard
  2013-03-26 14:51 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Jackson @ 2013-02-21 12:49 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/arm/cpu/armv7/am33xx/mem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/am33xx/mem.c b/arch/arm/cpu/armv7/am33xx/mem.c
index b8f54ab..b86b0de 100644
--- a/arch/arm/cpu/armv7/am33xx/mem.c
+++ b/arch/arm/cpu/armv7/am33xx/mem.c
@@ -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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] Initialise correct GPMC WAITx irq for AM33xx
  2013-02-21 12:49 [U-Boot] [PATCH] Initialise correct GPMC WAITx irq for AM33xx Mark Jackson
@ 2013-02-21 13:04 ` Peter Korsgaard
  2013-03-26 14:51 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2013-02-21 13:04 UTC (permalink / raw)
  To: u-boot

>>>>> "Mark" == Mark Jackson <mpfj-list@mimc.co.uk> writes:

 Mark> Currently WAIT0 irq is reset and then WAIT1 irq is enabled.
 Mark> Fix it such that WAIT0 irq is enabled instead.

 Mark> Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
 Mark> ---
 Mark>  arch/arm/cpu/armv7/am33xx/mem.c |    2 +-
 Mark>  1 file changed, 1 insertion(+), 1 deletion(-)

 Mark> diff --git a/arch/arm/cpu/armv7/am33xx/mem.c b/arch/arm/cpu/armv7/am33xx/mem.c
 Mark> index b8f54ab..b86b0de 100644
 Mark> --- a/arch/arm/cpu/armv7/am33xx/mem.c
 Mark> +++ b/arch/arm/cpu/armv7/am33xx/mem.c
 Mark> @@ -83,7 +83,7 @@ void gpmc_init(void)
 Mark>  	/* global settings */
 Mark>  	writel(0x00000008, &gpmc_cfg->sysconfig);
 Mark>  	writel(0x00000100, &gpmc_cfg->irqstatus);
 Mark> -	writel(0x00000200, &gpmc_cfg->irqenable);
 Mark> +	writel(0x00000100, &gpmc_cfg->irqenable);

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Why do we even enable the irq in the first place? The gpmc driver just
polls irqstatus anyway.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Initialise correct GPMC WAITx irq for AM33xx
  2013-02-21 12:49 [U-Boot] [PATCH] Initialise correct GPMC WAITx irq for AM33xx Mark Jackson
  2013-02-21 13:04 ` Peter Korsgaard
@ 2013-03-26 14:51 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2013-03-26 14:51 UTC (permalink / raw)
  To: u-boot

On Thu, Feb 21, 2013 at 02:49:38AM -0000, Mark Jackson wrote:

> 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>

Applied to u-boot-ti/master (and already pulled into u-boot-arm),
thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130326/968f8a78/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-26 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 12:49 [U-Boot] [PATCH] Initialise correct GPMC WAITx irq for AM33xx Mark Jackson
2013-02-21 13:04 ` Peter Korsgaard
2013-03-26 14:51 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox