Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34083
b: refs/heads/master
c: 9a2ded5
h: refs/heads/master
i:
  34081: 9ae6878
  34079: e332790
v: v3
  • Loading branch information
Michael Neuling authored and Paul Mackerras committed Aug 25, 2006
1 parent c0e35e8 commit 6162bfd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 869d7f381e8c32de85ddfa9621125fb10a885f87
refs/heads/master: 9a2ded55c40ad17b8b12f87c592a40b2e8593c4d
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ config PPC_IBM_CELL_BLADE
select UDBG_RTAS_CONSOLE

config UDBG_RTAS_CONSOLE
bool
bool "RTAS based debug console"
depends on PPC_RTAS
default n

config XICS
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/powerpc/kernel/rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,11 @@ int __init early_init_dt_scan_rtas(unsigned long node,
basep = of_get_flat_dt_prop(node, "get-term-char", NULL);
if (basep)
rtas_getchar_token = *basep;

if (rtas_putchar_token != RTAS_UNKNOWN_SERVICE &&
rtas_getchar_token != RTAS_UNKNOWN_SERVICE)
udbg_init_rtas_console();

#endif

/* break now */
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/powerpc/platforms/cell/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ 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;
Expand Down

0 comments on commit 6162bfd

Please sign in to comment.