mirror of https://github.com/hak5/openwrt-owl.git
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From f3389cf7bc90d5702adcd4c100b49baf7a813bb9 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
|
|
Date: Wed, 28 Jan 2015 22:39:39 +0100
|
|
Subject: [PATCH] ARM: BCM5301X: Add DT for Netgear R8000
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/Makefile | 3 ++-
|
|
arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 26 ++++++++++++++++++++++++++
|
|
2 files changed, 28 insertions(+), 1 deletion(-)
|
|
create mode 100644 arch/arm/boot/dts/bcm4709-netgear-r8000.dts
|
|
|
|
--- a/arch/arm/mach-bcm/bcm_5301x.c
|
|
+++ b/arch/arm/mach-bcm/bcm_5301x.c
|
|
@@ -18,15 +18,16 @@ static bool first_fault = true;
|
|
static int bcm5301x_abort_handler(unsigned long addr, unsigned int fsr,
|
|
struct pt_regs *regs)
|
|
{
|
|
- if (fsr == 0x1c06 && first_fault) {
|
|
+ if ((fsr == 0x1406 || fsr == 0x1c06) && first_fault) {
|
|
first_fault = false;
|
|
|
|
/*
|
|
- * These faults with code 0x1c06 happens for no good reason,
|
|
- * possibly left over from the CFE boot loader.
|
|
+ * These faults with codes 0x1406 (BCM4709) or 0x1c06 happens
|
|
+ * for no good reason, possibly left over from the CFE boot
|
|
+ * loader.
|
|
*/
|
|
pr_warn("External imprecise Data abort at addr=%#lx, fsr=%#x ignored.\n",
|
|
- addr, fsr);
|
|
+ addr, fsr);
|
|
|
|
/* Returning non-zero causes fault display and panic */
|
|
return 0;
|
|
--
|
|
1.8.4.5
|
|
|