]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/setup_32.c
[POWERPC] Use udbg_early_init() on ppc32
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / setup_32.c
index 6a19fa40dceea957e41c6558c55880aecb33ea4b..44a6a3c47feb5a4f666be6ba4a0c402ffbe74526 100644 (file)
@@ -116,12 +116,8 @@ unsigned long __init early_init(unsigned long dt_ptr)
  */
 void __init machine_init(unsigned long dt_ptr, unsigned long phys)
 {
-       /* If btext is enabled, we might have a BAT setup for early display,
-        * thus we do enable some very basic udbg output
-        */
-#ifdef CONFIG_BOOTX_TEXT
-       udbg_putc = btext_drawchar;
-#endif
+       /* Enable early debugging if any specified (see udbg.h) */
+       udbg_early_init();
 
        /* Do some early initialization based on the flat device tree */
        early_init_devtree(__va(dt_ptr));