summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2009-02-24 21:14:45 +1100
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:13 +0100
commit8c63d47651f77d9fb887cad433370b866eb0a193 (patch)
tree3b1462085a3aceec7390c05e7ab8184124967d14 /include
parent6d7f610b09f813b1239eedcbfe921cfd439aea25 (diff)
downloadu-boot-imx-8c63d47651f77d9fb887cad433370b866eb0a193.zip
u-boot-imx-8c63d47651f77d9fb887cad433370b866eb0a193.tar.gz
u-boot-imx-8c63d47651f77d9fb887cad433370b866eb0a193.tar.bz2
Implement SC520 timers
Signed-off-by: Graeme Russ <graeme.russ at gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/u-boot-i386.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-i386/u-boot-i386.h b/include/asm-i386/u-boot-i386.h
index 9a60cac..3921e01 100644
--- a/include/asm-i386/u-boot-i386.h
+++ b/include/asm-i386/u-boot-i386.h
@@ -43,6 +43,13 @@ extern ulong i386boot_bios_size; /* size of BIOS emulation code */
/* cpu/.../cpu.c */
int cpu_init(void);
+
+/* cpu/.../timer.c */
+void timer_isr(void *);
+typedef void (timer_fnc_t) (void);
+int register_timer_isr (timer_fnc_t *isr_func);
+
+/* Architecture specific - can be in cpu/i386/, lib_i386/, or $(BOARD)/ */
int timer_init(void);
/* cpu/.../interrupts.c */