summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-02 20:07:26 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-02 20:07:26 +0000
commit4f2c17075b25162d8becfd90de751556f425d5dc (patch)
treefc4edc4564190051908bdd3c9288202017930495 /target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch
parent1048c7b452f060c290d973d8a50ec4d178c937e6 (diff)
[lantiq] adds 3.6 files, patches and config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34061 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch')
-rw-r--r--target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch b/target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch
new file mode 100644
index 000000000..a6631b2f3
--- /dev/null
+++ b/target/linux/lantiq/patches-3.6/0006-MIPS-lantiq-adds-support-for-nmi-and-ejtag-bootrom-v.patch
@@ -0,0 +1,39 @@
+From f8cd170dabeca90c976e6487ba7a8a7752aae571 Mon Sep 17 00:00:00 2001
+From: John Crispin <blogic@openwrt.org>
+Date: Thu, 16 Aug 2012 11:39:56 +0000
+Subject: [PATCH 6/9] 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/
+---
+ arch/mips/lantiq/falcon/prom.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c
+index c1d278f..aa94979 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;
+ }
+--
+1.7.10.4
+