sh: Remove old early serial console code
PATCH 5/5 sh: Remove old early serial console code
From: Magnus Damm <[email protected]>
Now when the sh-sci driver can do early serial output, get rid of the old duplicated code. This removes support for "earlyprintk=serial".
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/Kconfig.debug | 20 ----- arch/sh/kernel/early_printk.c | 143 ----------------------------------------- 2 files changed, 163 deletions(-)
arch/sh/Kconfig.debug +0 -20
@@ -27,26 +27,6 @@ config EARLY_SCIF_CONSOLE standard BIOS, or do not wish to use the BIOS callbacks for the serial I/O. -config EARLY_SCIF_CONSOLE_PORT - hex - depends on EARLY_SCIF_CONSOLE - default "0xa4400000" if CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7705 - default "0xa4430000" if CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721 - default "0xf8420000" if CPU_SUBTYPE_SH7619 - default "0xff804000" if CPU_SUBTYPE_MXG - default "0xffc30000" if CPU_SUBTYPE_SHX3 - default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \ - CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 || \ - CPU_SUBTYPE_SH7343 - default "0xfe4c0000" if CPU_SUBTYPE_SH7757 - default "0xffeb0000" if CPU_SUBTYPE_SH7785 - default "0xffeb0000" if CPU_SUBTYPE_SH7786 - default "0xfffe8000" if CPU_SUBTYPE_SH7203 - default "0xfffe9800" if CPU_SUBTYPE_SH7206 || CPU_SUBTYPE_SH7263 - default "0xffe80000" if CPU_SH4 - default "0xa4000150" if CPU_SH3 - default "0x00000000" - config EARLY_PRINTK bool "Early printk support" depends on SH_STANDARD_BIOS || EARLY_SCIF_CONSOLE
arch/sh/kernel/early_printk.c +0 -143
155 lines not on this page · raw message