diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-04-07 10:11:17 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-04-20 13:16:42 +0200 |
commit | 186d8159f662e8b4964dca3ff5c87f06cf290a82 (patch) | |
tree | d5e2c023736c9ec4a08e111f36aaa8006d97dcf8 /arch/mips | |
parent | 6eae68e450517219a548412cae314cb914bc7a71 (diff) | |
download | u-boot-186d8159f662e8b4964dca3ff5c87f06cf290a82.zip u-boot-186d8159f662e8b4964dca3ff5c87f06cf290a82.tar.gz u-boot-186d8159f662e8b4964dca3ff5c87f06cf290a82.tar.bz2 |
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) { } |