diff options
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.patch | 39 |
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 0000000000..a6631b2f36 --- /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 + |