2015-01-28 21:55:43 +00:00
|
|
|
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
|
|
|
|
|
2015-01-30 06:58:35 +00:00
|
|
|
--- a/arch/arm/mach-bcm/bcm_5301x.c
|
|
|
|
+++ b/arch/arm/mach-bcm/bcm_5301x.c
|
2015-03-22 01:56:47 +00:00
|
|
|
@@ -18,15 +18,16 @@ static bool first_fault = true;
|
2015-01-30 06:58:35 +00:00
|
|
|
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;
|
2015-01-28 21:55:43 +00:00
|
|
|
--
|
|
|
|
1.8.4.5
|
|
|
|
|