diff options
author | Michael Neuling <mikey@neuling.org> | 2006-08-17 00:12:14 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-24 23:27:35 -0400 |
commit | 9a2ded55c40ad17b8b12f87c592a40b2e8593c4d (patch) | |
tree | f1fd41f15356787e68915257be26dafb0d951932 /arch/powerpc/kernel/rtas.c | |
parent | 869d7f381e8c32de85ddfa9621125fb10a885f87 (diff) |
[POWERPC] powerpc: Make RTAS console init generic
The rtas console doesn't have to be Cell specific. If we get both
RTAS tokens, we should just enabled the console then and there.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index bfd66d3a035c..6b0699b82b41 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -910,6 +910,11 @@ int __init early_init_dt_scan_rtas(unsigned long node, | |||
910 | basep = of_get_flat_dt_prop(node, "get-term-char", NULL); | 910 | basep = of_get_flat_dt_prop(node, "get-term-char", NULL); |
911 | if (basep) | 911 | if (basep) |
912 | rtas_getchar_token = *basep; | 912 | rtas_getchar_token = *basep; |
913 | |||
914 | if (rtas_putchar_token != RTAS_UNKNOWN_SERVICE && | ||
915 | rtas_getchar_token != RTAS_UNKNOWN_SERVICE) | ||
916 | udbg_init_rtas_console(); | ||
917 | |||
913 | #endif | 918 | #endif |
914 | 919 | ||
915 | /* break now */ | 920 | /* break now */ |