Skip to contentSkip to conversation

sparc: remove unused SERIAL_CONSOLE config option

PATCH In review Ethan Nelson-Moore 2 participants 2 messages May 5 – Jun 12 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: remove unused SERIAL_CONSOLE config option

There are no references to this option in SPARC or architecture-independent code. Remove it to simplify the configuration process.

---
 arch/sparc/Kconfig | 24 ------------------------
 1 file changed, 24 deletions(-)
arch/sparc/Kconfig +0 -24
index a6b787efc2c4..fb53b21a8696 100644
@@ -327,30 +327,6 @@ config SPARC_LED
 	  by reading /proc/led and its blinking mode can be changed
 	  via writes to /proc/led
 
-config SERIAL_CONSOLE
-	bool
-	depends on SPARC32
-	default y
-	help
-	  If you say Y here, it will be possible to use a serial port as the
-	  system console (the system console is the device which receives all
-	  kernel messages and warnings and which allows logins in single user
-	  mode). This could be useful if some terminal or printer is connected
-	  to that serial port.
-
-	  Even if you say Y here, the currently visible virtual console
-	  (/dev/tty0) will still be used as the system console by default, but
-	  you can alter that using a kernel command line option such as
-	  "console=ttyS1". (Try "man bootparam" or see the documentation of
-	  your boot loader (silo) about how to pass options to the kernel at
-	  boot time.)
-
-	  If you don't have a graphics card installed and you say Y here, the
-	  kernel will automatically use the first serial line, /dev/ttyS0, as
-	  system console.
-
-	  If unsure, say N.
-
 config SPARC_LEON
 	bool "Sparc Leon processor family"
 	depends on SPARC32
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 34 lines · Ethan Nelson-Moore

There are no references to this option in SPARC or architecture-independent code. Remove it to simplify the configuration process.

---
 arch/sparc/Kconfig | 24 ------------------------
 1 file changed, 24 deletions(-)
arch/sparc/Kconfig +0 -17
index a6b787efc2c4..fb53b21a8696 100644
@@ -327,30 +327,6 @@ config SPARC_LED
 	  by reading /proc/led and its blinking mode can be changed
 	  via writes to /proc/led
 
-config SERIAL_CONSOLE
-	bool
-	depends on SPARC32
-	default y
-	help
-	  If you say Y here, it will be possible to use a serial port as the
-	  system console (the system console is the device which receives all
-	  kernel messages and warnings and which allows logins in single user
-	  mode). This could be useful if some terminal or printer is connected
-	  to that serial port.
-
-	  Even if you say Y here, the currently visible virtual console
-	  (/dev/tty0) will still be used as the system console by default, but
-	  you can alter that using a kernel command line option such as
-	  "console=ttyS1". (Try "man bootparam" or see the documentation of
-	  your boot loader (silo) about how to pass options to the kernel at
-	  boot time.)

arch/sparc/Kconfig config SPARC_LED · line 332

Quoted 10 lines
arch/sparc/Kconfig +0 -7
-
-	  If you don't have a graphics card installed and you say Y here, the
-	  kernel will automatically use the first serial line, /dev/ttyS0, as
-	  system console.
-
-	  If unsure, say N.
-
 config SPARC_LEON
 	bool "Sparc Leon processor family"
 	depends on SPARC32

Picking this up to my for-next.

Thanks,
Andreas