MIPS: lantiq: adds support for nmi and ejtag bootrom vectors
authorJohn Crispin <blogic@openwrt.org>
Thu, 16 Aug 2012 11:39:56 +0000 (11:39 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 22 Aug 2012 22:08:17 +0000 (00:08 +0200)
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/

arch/mips/lantiq/falcon/prom.c

index c1d278f05a3a89293693355519cdceb4a4a559f7..aa9497947859ed99dc993e12443f162906709094 100644 (file)
@@ -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;
 }