Skip to contentSkip to conversation

Enable the RTAS udbg console on IBM Cell Blade

PATCH In review Michael Ellerman 1 participant 1 message Jun 23, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/8 Enable the RTAS udbg console on IBM Cell Blade

Enable the RTAS udbg console on IBM Cell Blade, this allows xmon to work.

---

 arch/powerpc/Kconfig                |    1 +
 arch/powerpc/platforms/cell/setup.c |    4 ++++
 2 files changed, 5 insertions(+)
arch/powerpc/Kconfig +1 -0
Index: to-merge/arch/powerpc/Kconfig
===================================================================
@@ -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
arch/powerpc/platforms/cell/setup.c +4 -0
Index: to-merge/arch/powerpc/platforms/cell/setup.c
===================================================================
@@ -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;