diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-11 11:40:16 +0200 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2017-05-11 17:44:21 +0800 |
commit | e118c3fec9c0d8d2a96462c4c035305dc952e402 (patch) | |
tree | f599d72ec3510ded3ac983b3fa1ea256bcb0580a /arch/nios2/include | |
parent | 7f1e614113ffe75f5ea7c99f641bf1b56f85be03 (diff) | |
download | linux-stable-e118c3fec9c0d8d2a96462c4c035305dc952e402.tar.gz linux-stable-e118c3fec9c0d8d2a96462c4c035305dc952e402.tar.bz2 linux-stable-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 'arch/nios2/include')
-rw-r--r-- | arch/nios2/include/asm/prom.h | 22 | ||||
-rw-r--r-- | arch/nios2/include/asm/setup.h | 2 |
2 files changed, 0 insertions, 24 deletions
diff --git a/arch/nios2/include/asm/prom.h b/arch/nios2/include/asm/prom.h deleted file mode 100644 index 75fffb42cfa5..000000000000 --- a/arch/nios2/include/asm/prom.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright Altera Corporation (C) <2015>. All rights reserved - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef __ASM_NIOS2_PROM_H__ -#define __ASM_NIOS2_PROM_H__ - -extern unsigned long __init of_early_console(void); - -#endif diff --git a/arch/nios2/include/asm/setup.h b/arch/nios2/include/asm/setup.h index dcbf8cf1a344..ac9bff248e6d 100644 --- a/arch/nios2/include/asm/setup.h +++ b/arch/nios2/include/asm/setup.h @@ -30,8 +30,6 @@ extern char fast_handler_end[]; extern void pagetable_init(void); -extern void setup_early_printk(void); - #endif/* __KERNEL__ */ #endif /* __ASSEMBLY__ */ |