summaryrefslogtreecommitdiff
path: root/cpu/arm1136/omap24xx
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/omap24xx
parent7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6 (diff)
downloadu-boot-imx-066bebd6353e33af3adefc3404560871699e9961.zip
u-boot-imx-066bebd6353e33af3adefc3404560871699e9961.tar.gz
u-boot-imx-066bebd6353e33af3adefc3404560871699e9961.tar.bz2
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/omap24xx')
-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 5963d62..8503b24 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;