aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/microblaze/kernel/early_printk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/early_printk.c b/arch/microblaze/kernel/early_printk.c
index fa07d211adec..41e285c354b6 100644
--- a/arch/microblaze/kernel/early_printk.c
+++ b/arch/microblaze/kernel/early_printk.c
@@ -63,7 +63,7 @@ static struct console early_serial_uartlite_console = {
63 .index = -1, 63 .index = -1,
64}; 64};
65 65
66static struct console *early_console = &early_serial_uartlite_console; 66static struct console *early_console;
67 67
68void early_printk(const char *fmt, ...) 68void early_printk(const char *fmt, ...)
69{ 69{
@@ -90,6 +90,7 @@ int __init setup_early_printk(char *opt)
90#ifdef CONFIG_MMU 90#ifdef CONFIG_MMU
91 early_console_reg_tlb_alloc(base_addr); 91 early_console_reg_tlb_alloc(base_addr);
92#endif 92#endif
93 early_console = &early_serial_uartlite_console;
93 early_printk("early_printk_console is enabled at 0x%08x\n", 94 early_printk("early_printk_console is enabled at 0x%08x\n",
94 base_addr); 95 base_addr);
95 96