aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/setup.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-05-11 11:40:16 +0200
committerLey Foon Tan <ley.foon.tan@intel.com>2017-05-11 17:44:21 +0800
commite118c3fec9c0d8d2a96462c4c035305dc952e402 (patch)
treef599d72ec3510ded3ac983b3fa1ea256bcb0580a /arch/nios2/kernel/setup.c
parentnios2: use generic strncpy_from_user() and strnlen_user() (diff)
downloadlinux-dev-e118c3fec9c0d8d2a96462c4c035305dc952e402.tar.xz
linux-dev-e118c3fec9c0d8d2a96462c4c035305dc952e402.zip
nios2: remove custom early console implementation
As of commits d8f347ba35cf ("nios2: enable earlycon support"), 0dcc0542a006 ("serial: altera_jtaguart: add earlycon support") and 4d9d7d896d77 ("serial: altera_uart: add earlycon support"), the nios2 architecture and the altera_uart/altera_jtaguart drivers support earlycon. Thus, the custom early console implementation for nios2 is no longer necessary to get early boot messages. Remove it and rely fully on earlycon support. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to '')
-rw-r--r--arch/nios2/kernel/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/nios2/kernel/setup.c b/arch/nios2/kernel/setup.c
index 8b5146082e3e..926a02b17b31 100644
--- a/arch/nios2/kernel/setup.c
+++ b/arch/nios2/kernel/setup.c
@@ -147,10 +147,6 @@ 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;