[POWERPC] Enable the RTAS udbg console on IBM Cell Blade
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 23 Jun 2006 08:20:22 +0000 (18:20 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Jun 2006 01:59:48 +0000 (11:59 +1000)
Enable the RTAS udbg console on IBM Cell Blade, this allows xmon
to work.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/platforms/cell/setup.c

index deea4c8e1f4ef4858b58e08fe6f4b29f2996c2ed..4f4071a7bdfbf24da548eade7be61390797fedc9 100644 (file)
@@ -419,6 +419,7 @@ config PPC_IBM_CELL_BLADE
        select PPC_RTAS
        select MMIO_NVRAM
        select PPC_UDBG_16550
+       select UDBG_RTAS_CONSOLE
 
 config UDBG_RTAS_CONSOLE
        bool
index 2436eaab701dd3352fd55568229da0e8500f91b2..00d112f92272fcda65c20adece8499b68e6bb318 100644 (file)
@@ -141,6 +141,10 @@ static int __init cell_probe(void)
            !of_flat_dt_is_compatible(root, "IBM,CPBW-1.0"))
                return 0;
 
+#ifdef CONFIG_UDBG_RTAS_CONSOLE
+       udbg_init_rtas_console();
+#endif
+
        hpte_init_native();
 
        return 1;