diff options
author | Michal Simek <monstr@monstr.eu> | 2009-05-26 10:30:10 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-05-26 10:45:14 -0400 |
commit | a43acfbbc8653f70b8da4c64ec534fb45065a2ee (patch) | |
tree | 925a99f53136804e2ce8f112653bdd9ef5feab5f /arch/microblaze/kernel | |
parent | 5846cc608fd42cd3645ff9f841888832c6ef9b6e (diff) |
microblaze_mmu_v2: Alocate TLB for early console
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/early_printk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/early_printk.c b/arch/microblaze/kernel/early_printk.c index 4b0f0fdb9ca0..7de84923ba07 100644 --- a/arch/microblaze/kernel/early_printk.c +++ b/arch/microblaze/kernel/early_printk.c | |||
@@ -87,6 +87,9 @@ int __init setup_early_printk(char *opt) | |||
87 | base_addr = early_uartlite_console(); | 87 | base_addr = early_uartlite_console(); |
88 | if (base_addr) { | 88 | if (base_addr) { |
89 | early_console_initialized = 1; | 89 | early_console_initialized = 1; |
90 | #ifdef CONFIG_MMU | ||
91 | early_console_reg_tlb_alloc(base_addr); | ||
92 | #endif | ||
90 | early_printk("early_printk_console is enabled at 0x%08x\n", | 93 | early_printk("early_printk_console is enabled at 0x%08x\n", |
91 | base_addr); | 94 | base_addr); |
92 | 95 | ||