summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-27 16:32:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-28 11:41:33 +0100
commit38884dabbe6a86feb5d9763cd160083f85b1848b (patch)
tree9c1e43114c0189e0e050fd0e78faa04803dcc7f0 /include/common.h
parent55ebf18c6603dd8d93c4a6a9d57ca390c9028c37 (diff)
downloadbarebox-38884dabbe6a86feb5d9763cd160083f85b1848b.tar.gz
barebox-38884dabbe6a86feb5d9763cd160083f85b1848b.tar.xz
remove irq support fragments
We never had interrupt support in barebox and we have no plans to add interrupt support. Even if we do I doubt the current fragments of irq support are helpful, so remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/common.h b/include/common.h
index e34bbea82f..d63ad023ba 100644
--- a/include/common.h
+++ b/include/common.h
@@ -107,25 +107,6 @@ long get_ram_size (volatile long *, long);
/* $(CPU)/cpu.c */
void __noreturn reset_cpu(unsigned long addr);
-/* $(CPU)/interrupts.c */
-//void timer_interrupt (struct pt_regs *);
-//void external_interrupt (struct pt_regs *);
-void irq_install_handler(int, interrupt_handler_t *, void *);
-void irq_free_handler (int);
-#ifdef CONFIG_USE_IRQ
-void enable_interrupts (void);
-int disable_interrupts (void);
-#else
-static inline void enable_interrupts(void)
-{
-}
-
-static inline int disable_interrupts(void)
-{
- return 0;
-}
-#endif
-
/* lib_$(ARCH)/time.c */
void udelay (unsigned long);
void mdelay (unsigned long);