summaryrefslogtreecommitdiff
path: root/arch/mips/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-08-16 15:39:56 +0400
committerJohn Crispin <blogic@openwrt.org>2012-08-23 02:08:17 +0400
commitf8cd170dabeca90c976e6487ba7a8a7752aae571 (patch)
treec16d190e86db159ba04c9eec8e3cc4acb3b85a01 /arch/mips/lantiq
parent70ec9054e7a65c878298666083f7d5b70ccf9032 (diff)
downloadlinux-f8cd170dabeca90c976e6487ba7a8a7752aae571.tar.xz
MIPS: lantiq: adds support for nmi and ejtag bootrom vectors
Register nmi and ejtag bootrom vectors for FALC-ON SoC. Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4238/
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r--arch/mips/lantiq/falcon/prom.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c
index c1d278f05a3a..aa9497947859 100644
--- a/arch/mips/lantiq/falcon/prom.c
+++ b/arch/mips/lantiq/falcon/prom.c
@@ -8,6 +8,8 @@
*/
#include <linux/kernel.h>
+#include <asm/cacheflush.h>
+#include <asm/traps.h>
#include <asm/io.h>
#include <lantiq_soc.h>
@@ -84,4 +86,7 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
unreachable();
break;
}
+
+ board_nmi_handler_setup = ltq_soc_nmi_setup;
+ board_ejtag_handler_setup = ltq_soc_ejtag_setup;
}