Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81044
b: refs/heads/master
c: 7ee1746
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Dec 11, 2007
1 parent ff805e1 commit dc63b33
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 837c54db21fc7047af75f3fe4295e32106449e34
refs/heads/master: 7ee17466b6ac3b63ce87492d080e15e7f144f7d2
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ config BOOTX_TEXT

config PPC_EARLY_DEBUG
bool "Early debugging (dangerous)"
help
Say Y to enable some early debugging facilities that may be available
for your processor/board combination. Those facilities are hacks
intended to debug problems early during boot, this should not be
enabled in a production kernel.
Note that enabling this will also cause the kernel default log level
to be pushed to max automatically very early during boot

choice
prompt "Early debugging console"
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ void __init udbg_early_init(void)
#elif defined(CONFIG_PPC_EARLY_DEBUG_CPM)
udbg_init_cpm();
#endif

#ifdef CONFIG_PPC_EARLY_DEBUG
console_loglevel = 10;
#endif
}

/* udbg library, used by xmon et al */
Expand Down

0 comments on commit dc63b33

Please sign in to comment.