bcm53xx: use final (backported) patch fixing serial console
[openwrt.git] / target / linux / bcm53xx / patches-3.14 / 044-0-ARM-BCM5301X-fix-early-serial-console.patch
1 From 140bd60383309e82b5cae3294a907c11a0a12b90 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sun, 14 Sep 2014 21:43:40 +0200
4 Subject: [PATCH] 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 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 ---
12  arch/arm/Kconfig.debug | 4 ++--
13  1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
16 index 1c4889d..a528843 100644
17 --- a/arch/arm/Kconfig.debug
18 +++ b/arch/arm/Kconfig.debug
19 @@ -109,7 +109,7 @@ choice
20         config DEBUG_BCM_5301X
21                 bool "Kernel low-level debugging on BCM5301X UART1"
22                 depends on ARCH_BCM_5301X
23 -               select DEBUG_UART_PL01X
24 +               select DEBUG_UART_8250
25  
26         config DEBUG_BCM_KONA_UART
27                 bool "Kernel low-level debugging messages via BCM KONA UART"
28 @@ -1132,7 +1132,7 @@ config DEBUG_UART_VIRT
29  config DEBUG_UART_8250_SHIFT
30         int "Register offset shift for the 8250 debug UART"
31         depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
32 -       default 0 if FOOTBRIDGE || ARCH_IOP32X
33 +       default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X
34         default 2
35  
36  config DEBUG_UART_8250_WORD
37 -- 
38 1.8.4.5
39