summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-06-23 10:20:22 +0200
committerPaul Mackerras <paulus@samba.org>2006-06-28 03:59:48 +0200
commit94b60ec166bc410d544d7635c9575ea5e53ec052 (patch)
tree0a9f571fb74edd7f6c5cd91468bb9742c7d9e407
parent[POWERPC] Add udbg support for RTAS console (diff)
downloadlinux-94b60ec166bc410d544d7635c9575ea5e53ec052.tar.xz
linux-94b60ec166bc410d544d7635c9575ea5e53ec052.zip
[POWERPC] Enable the RTAS udbg console on IBM Cell Blade
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>
-rw-r--r--arch/powerpc/Kconfig1
-rw-r--r--arch/powerpc/platforms/cell/setup.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index deea4c8e1f4e..4f4071a7bdfb 100644
--- a/arch/powerpc/Kconfig
+++ b/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
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c
index 2436eaab701d..00d112f92272 100644
--- a/arch/powerpc/platforms/cell/setup.c
+++ b/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;