summaryrefslogtreecommitdiffstats
path: root/cpu/arm1136
diff options
context:
space:
mode:
authorPeter Pearse <peter.pearse@arm.com>2008-03-30 11:34:09 +0100
committerPeter Pearse <peter.pearse@arm.com>2008-03-30 11:34:09 +0100
commit066bebd6353e33af3adefc3404560871699e9961 (patch)
tree98048f95128e0c7e4d38b710031ae007fbda4590 /cpu/arm1136
parent7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6 (diff)
downloadu-boot-066bebd6353e33af3adefc3404560871699e9961.tar.gz
u-boot-066bebd6353e33af3adefc3404560871699e9961.tar.xz
u-boot-066bebd6353e33af3adefc3404560871699e9961.zip
Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c
to prevent compilation error. Signed-off-by: Peter Pearse <peter.pearse@arm.com>
Diffstat (limited to 'cpu/arm1136')
-rwxr-xr-x[-rw-r--r--]cpu/arm1136/omap24xx/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c
index 5963d621bd..8503b24a8e 100644..100755
--- a/cpu/arm1136/omap24xx/interrupts.c
+++ b/cpu/arm1136/omap24xx/interrupts.c
@@ -37,7 +37,7 @@
#define TIMER_LOAD_VAL 0
/* macro to read the 32 bit timer */
-#define READ_TIMER (*volatile ulong*(CFG_TIMERBASE+TCRR))
+#define READ_TIMER (*((volatile ulong*)(CFG_TIMERBASE+TCRR)))
static ulong timestamp;
static ulong lastinc;