]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: BCM5301X: fix early serial console
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 14 Sep 2014 19:43:40 +0000 (21:43 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Nov 2014 11:34:54 +0000 (12:34 +0100)
This device actually has a 8250 serial with a shift of 0.
Tested this on a BCM4708.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig.debug

index 1c4889dbc7142bc53a34e565ac1a33577275e518..a52884351e4f7ab3735518b98cd195255e8cc304 100644 (file)
@@ -113,7 +113,7 @@ choice
        config DEBUG_BCM_5301X
                bool "Kernel low-level debugging on BCM5301X UART1"
                depends on ARCH_BCM_5301X
-               select DEBUG_UART_PL01X
+               select DEBUG_UART_8250
 
        config DEBUG_BCM_KONA_UART
                bool "Kernel low-level debugging messages via BCM KONA UART"
@@ -1301,7 +1301,7 @@ config DEBUG_UART_VIRT
 config DEBUG_UART_8250_SHIFT
        int "Register offset shift for the 8250 debug UART"
        depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
-       default 0 if FOOTBRIDGE || ARCH_IOP32X
+       default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X
        default 2
 
 config DEBUG_UART_8250_WORD