bcm53xx: backport 3 BCM5301X patches from Hauke repo
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.14 / 301-ARM-BCM5301X-fix-early-serial-console.patch
1 From 310a267714f7565dba8934dd51cdead6adc3b630 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sun, 14 Sep 2014 21:02:35 +0200
4 Subject: [PATCH 4/4] ARM: BCM5301X: fix early serial console
5
6 This device actually has a 8250 serial with a shift of 0.
7 Tested this on a BCM4708.
8
9 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
10 ---
11 arch/arm/Kconfig.debug | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/arch/arm/Kconfig.debug
15 +++ b/arch/arm/Kconfig.debug
16 @@ -109,7 +109,7 @@ choice
17 config DEBUG_BCM_5301X
18 bool "Kernel low-level debugging on BCM5301X UART1"
19 depends on ARCH_BCM_5301X
20 - select DEBUG_UART_PL01X
21 + select DEBUG_UART_8250
22
23 config DEBUG_BCM_KONA_UART
24 bool "Kernel low-level debugging messages via BCM KONA UART"
25 @@ -1132,7 +1132,7 @@ config DEBUG_UART_VIRT
26 config DEBUG_UART_8250_SHIFT
27 int "Register offset shift for the 8250 debug UART"
28 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
29 - default 0 if FOOTBRIDGE || ARCH_IOP32X
30 + default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X
31 default 2
32
33 config DEBUG_UART_8250_WORD