public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Coldfire M5271: Activate u-boot system timer interrupt.
@ 2009-03-26 19:30 Richard Retanubun
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Retanubun @ 2009-03-26 19:30 UTC (permalink / raw)
  To: u-boot

 From abd87852f80b84e77ab264acdb36e7814302b097 Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Date: Thu, 26 Mar 2009 15:26:01 -0400
Subject: [PATCH] Coldfire M5271: Activate u-boot system timer interrupt.

This patch assigns the u-boot system timer interrupt to
interrupt level 3, priority 6. Without this patch the interrupt
will be a level 0, priority 0, which disables it and cause
u-boot functions that relies on the timer (e.g. sleep command)
to never return.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
---
  include/asm-m68k/immap.h |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-m68k/immap.h b/include/asm-m68k/immap.h
index 93f730f..6a3ef03 100644
--- a/include/asm-m68k/immap.h
+++ b/include/asm-m68k/immap.h
@@ -149,7 +149,7 @@
  #define CONFIG_SYS_TMRINTR_NO		(INT0_LO_DTMR3)
  #define CONFIG_SYS_TMRINTR_MASK	(INTC_IPRL_INT22)
  #define CONFIG_SYS_TMRINTR_PEND	(CONFIG_SYS_TMRINTR_MASK)
-#define CONFIG_SYS_TMRINTR_PRI		(0)		/* Level must include inorder to work */
+#define CONFIG_SYS_TMRINTR_PRI		(0x1E) /* Interrupt level 3, priority 6 */
  #define CONFIG_SYS_TIMER_PRESCALER	(((gd->bus_clk / 1000000) - 1) << 8)
  #endif

-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] Coldfire M5271: Activate u-boot system timer interrupt.
@ 2009-06-01 12:09 TsiChung Liew
  0 siblings, 0 replies; 2+ messages in thread
From: TsiChung Liew @ 2009-06-01 12:09 UTC (permalink / raw)
  To: u-boot

From: Richard Retanubun <RichardRetanubun@RuggedCom.com>

This patch assigns the u-boot system timer interrupt to
interrupt level 3, priority 6. Without this patch the interrupt
will be a level 0, priority 0, which disables it and cause
u-boot functions that relies on the timer (e.g. sleep command)
to never return.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
---
 include/asm-m68k/immap.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-m68k/immap.h b/include/asm-m68k/immap.h
index 93f730f..6a3ef03 100644
--- a/include/asm-m68k/immap.h
+++ b/include/asm-m68k/immap.h
@@ -149,7 +149,7 @@
 #define CONFIG_SYS_TMRINTR_NO		(INT0_LO_DTMR3)
 #define CONFIG_SYS_TMRINTR_MASK	(INTC_IPRL_INT22)
 #define CONFIG_SYS_TMRINTR_PEND	(CONFIG_SYS_TMRINTR_MASK)
-#define CONFIG_SYS_TMRINTR_PRI		(0)		/* Level must include inorder to work */
+#define CONFIG_SYS_TMRINTR_PRI		(0x1E) /* Interrupt level 3, priority 6 */
 #define CONFIG_SYS_TIMER_PRESCALER	(((gd->bus_clk / 1000000) - 1) << 8)
 #endif
 
-- 
1.5.6.4

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

end of thread, other threads:[~2009-06-01 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 19:30 [U-Boot] [PATCH] Coldfire M5271: Activate u-boot system timer interrupt Richard Retanubun
  -- strict thread matches above, loose matches on Subject: below --
2009-06-01 12:09 TsiChung Liew

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