aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-04-23 21:53:50 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-04-23 21:53:50 +0000
commitd89aa2c3d69c564d49df0348059af9e041b3ad03 (patch)
tree01b9b8544c2495e4f731b6f2e7683467c6ac7c79 /target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch
parent4a7a0d25368488db2a28f6fbe7c2c9cf8cb33006 (diff)
downloadupstream-d89aa2c3d69c564d49df0348059af9e041b3ad03.tar.gz
upstream-d89aa2c3d69c564d49df0348059af9e041b3ad03.tar.bz2
upstream-d89aa2c3d69c564d49df0348059af9e041b3ad03.zip
bcm53xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40564
Diffstat (limited to 'target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch b/target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch
new file mode 100644
index 0000000000..2e028a8dc3
--- /dev/null
+++ b/target/linux/bcm53xx/patches-3.14/041-ARM-BCM5301X-add-early-debugging-support.patch
@@ -0,0 +1,45 @@
+From 065802756b20d878c83290c115f212fc1631cba7 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Tue, 4 Feb 2014 00:01:44 +0100
+Subject: [PATCH 2/3] ARM: BCM5301X: add early debugging support
+
+This adds support for early debugging of BCM5301X SoC.
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+Acked-by: Arnd Bergmann <arnd@arndb.de>
+Acked-by: Christian Daudt <bcm@fixthebug.org>
+Signed-off-by: Matt Porter <mporter@linaro.org>
+---
+ arch/arm/Kconfig.debug | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/arch/arm/Kconfig.debug
++++ b/arch/arm/Kconfig.debug
+@@ -106,6 +106,11 @@ choice
+ depends on ARCH_BCM2835
+ select DEBUG_UART_PL01X
+
++ config DEBUG_BCM_5301X
++ bool "Kernel low-level debugging on BCM5301X UART1"
++ depends on ARCH_BCM_5301X
++ select DEBUG_UART_PL01X
++
+ config DEBUG_BCM_KONA_UART
+ bool "Kernel low-level debugging messages via BCM KONA UART"
+ depends on ARCH_BCM
+@@ -1023,6 +1028,7 @@ config DEBUG_UART_PHYS
+ default 0x101f1000 if ARCH_VERSATILE
+ default 0x101fb000 if DEBUG_NOMADIK_UART
+ default 0x16000000 if ARCH_INTEGRATOR
++ default 0x18000300 if DEBUG_BCM_5301X
+ default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
+ default 0x20060000 if DEBUG_RK29_UART0
+ default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
+@@ -1071,6 +1077,7 @@ config DEBUG_UART_VIRT
+ default 0xf0009000 if DEBUG_CNS3XXX
+ default 0xf01fb000 if DEBUG_NOMADIK_UART
+ default 0xf0201000 if DEBUG_BCM2835
++ default 0xf1000300 if DEBUG_BCM_5301X
+ default 0xf11f1000 if ARCH_VERSATILE
+ default 0xf1600000 if ARCH_INTEGRATOR
+ default 0xf1c28000 if DEBUG_SUNXI_UART0