[POWERPC] 4xx: Split early debug output and early boot console for 44x
authorValentine Barshak <vbarshak@ru.mvista.com>
Thu, 18 Oct 2007 12:55:13 +0000 (22:55 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 19 Oct 2007 21:18:18 +0000 (16:18 -0500)
Currently there's no way to enable early boot console on PowerPC 44x
not specifying uart's physical address in kernel config, which is used
for very early debug messages. This patch splits very early debug output
(which needs uart physical address in kernel config) and early boot console
(which searches for uarts in the device tree using find_legacy_serial_ports).
We enable early boot console for all 44x processors, while (dangerous)
early debug is user-selectable.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/Kconfig.debug
arch/powerpc/platforms/Kconfig.cputype

index c939fe8..6a79fe4 100644 (file)
@@ -216,7 +216,6 @@ config PPC_EARLY_DEBUG_BEAT
 config PPC_EARLY_DEBUG_44x
        bool "Early serial debugging for IBM/AMCC 44x CPUs"
        depends on 44x
-       select PPC_UDBG_16550
        help
          Select this to enable early debugging for IBM 44x chips via the
          inbuilt serial port.
index 3c7325e..99684ea 100644 (file)
@@ -48,6 +48,7 @@ config 44x
        bool "AMCC 44x"
        select PPC_DCR_NATIVE
        select WANT_DEVICE_TREE
+       select PPC_UDBG_16550
 
 config E200
        bool "Freescale e200"