diff options
author | Ley Foon Tan <lftan@altera.com> | 2015-02-10 23:21:08 +0800 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2015-02-10 23:21:08 +0800 |
commit | e8bf5bc776edef44777b13b2eb4461d653519bae (patch) | |
tree | 91626d85686ba2938f0c1fa76633b790a76c3cfc /arch/nios2/kernel/setup.c | |
parent | 96f3a5cc33baede169e0d330119090789e97e86b (diff) |
nios2: add early printk support
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/kernel/setup.c')
-rw-r--r-- | arch/nios2/kernel/setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/nios2/kernel/setup.c b/arch/nios2/kernel/setup.c index cb3121f975d4..b101a43d3c5a 100644 --- a/arch/nios2/kernel/setup.c +++ b/arch/nios2/kernel/setup.c @@ -139,6 +139,10 @@ void __init setup_arch(char **cmdline_p) console_verbose(); +#ifdef CONFIG_EARLY_PRINTK + setup_early_printk(); +#endif + memory_start = PAGE_ALIGN((unsigned long)__pa(_end)); memory_end = (unsigned long) CONFIG_NIOS2_MEM_BASE + memory_size; |