diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-04-07 09:11:17 (GMT) |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-04-20 11:16:42 (GMT) |
commit | 186d8159f662e8b4964dca3ff5c87f06cf290a82 (patch) | |
tree | d5e2c023736c9ec4a08e111f36aaa8006d97dcf8 /arch/mips | |
parent | 6eae68e450517219a548412cae314cb914bc7a71 (diff) | |
download | u-boot-186d8159f662e8b4964dca3ff5c87f06cf290a82.tar.xz |
MIPS: stub interrupt_init function
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/cpu/mips32/interrupts.c | 5 | ||||
-rw-r--r-- | arch/mips/cpu/mips64/interrupts.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/cpu/mips32/interrupts.c b/arch/mips/cpu/mips32/interrupts.c index a7e2ed0..275fcf5 100644 --- a/arch/mips/cpu/mips32/interrupts.c +++ b/arch/mips/cpu/mips32/interrupts.c @@ -7,6 +7,11 @@ #include <common.h> +int interrupt_init(void) +{ + return 0; +} + void enable_interrupts(void) { } diff --git a/arch/mips/cpu/mips64/interrupts.c b/arch/mips/cpu/mips64/interrupts.c index a7e2ed0..275fcf5 100644 --- a/arch/mips/cpu/mips64/interrupts.c +++ b/arch/mips/cpu/mips64/interrupts.c @@ -7,6 +7,11 @@ #include <common.h> +int interrupt_init(void) +{ + return 0; +} + void enable_interrupts(void) { } |