]> git.sur5r.net Git - u-boot/commitdiff
MIPS: stub interrupt_init function
authorPaul Burton <paul.burton@imgtec.com>
Mon, 7 Apr 2014 09:11:17 +0000 (10:11 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 20 Apr 2014 11:16:42 +0000 (13:16 +0200)
interrupt_init is called unconditionally by the generic board code.
Define a stub for it on MIPS like the enable & disable functions.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/cpu/mips32/interrupts.c
arch/mips/cpu/mips64/interrupts.c

index a7e2ed046adaf61659a844ea235b332c35e6b720..275fcf569966e062dd146c26319c0cb3907a86ab 100644 (file)
@@ -7,6 +7,11 @@
 
 #include <common.h>
 
+int interrupt_init(void)
+{
+       return 0;
+}
+
 void enable_interrupts(void)
 {
 }
index a7e2ed046adaf61659a844ea235b332c35e6b720..275fcf569966e062dd146c26319c0cb3907a86ab 100644 (file)
@@ -7,6 +7,11 @@
 
 #include <common.h>
 
+int interrupt_init(void)
+{
+       return 0;
+}
+
 void enable_interrupts(void)
 {
 }