mirror of https://github.com/OpenIPC/firmware.git
81 lines
2.9 KiB
Diff
81 lines
2.9 KiB
Diff
diff -drupN a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
|
|
--- a/drivers/tty/serial/Kconfig 2017-10-21 18:09:07.000000000 +0300
|
|
+++ b/drivers/tty/serial/Kconfig 2022-06-09 05:02:34.000000000 +0300
|
|
@@ -262,7 +262,7 @@ config SERIAL_SAMSUNG_UARTS
|
|
help
|
|
Select the number of available UART ports for the Samsung S3C
|
|
serial driver
|
|
-
|
|
+
|
|
config SERIAL_SAMSUNG_DEBUG
|
|
bool "Samsung SoC serial debug"
|
|
depends on SERIAL_SAMSUNG && DEBUG_LL
|
|
@@ -680,8 +680,8 @@ config PDC_CONSOLE
|
|
depends on PARISC && !SERIAL_MUX && VT
|
|
default n
|
|
help
|
|
- Saying Y here will enable the software based PDC console to be
|
|
- used as the system console. This is useful for machines in
|
|
+ Saying Y here will enable the software based PDC console to be
|
|
+ used as the system console. This is useful for machines in
|
|
which the hardware based console has not been written yet. The
|
|
following steps must be completed to use the PDC console:
|
|
|
|
@@ -872,7 +872,7 @@ config SERIAL_CPM
|
|
depends on CPM2 || CPM1
|
|
select SERIAL_CORE
|
|
help
|
|
- This driver supports the SCC and SMC serial ports on Motorola
|
|
+ This driver supports the SCC and SMC serial ports on Motorola
|
|
embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
|
|
|
|
config SERIAL_CPM_CONSOLE
|
|
@@ -1629,6 +1629,47 @@ config SERIAL_STM32_CONSOLE
|
|
depends on SERIAL_STM32=y
|
|
select SERIAL_CORE_CONSOLE
|
|
|
|
+config SERIAL_INGENIC_UART
|
|
+ tristate "ingenic serial port support"
|
|
+ select SERIAL_CORE
|
|
+ help
|
|
+ If you have a machine based on a xbrust mips soc you can
|
|
+ enable its onboard serial port by enabling this option.
|
|
+
|
|
+config SERIAL_INGENIC_CONSOLE
|
|
+ bool "Console on ingenic soc and compatible serial port"
|
|
+ depends on SERIAL_INGENIC_UART=y
|
|
+ select SERIAL_CORE_CONSOLE
|
|
+ ---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 (grub or lilo or loadlin) about how to pass options
|
|
+ to the kernel at boot time.)
|
|
+
|
|
+ If you don't have a VGA 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 SERIAL_INGENIC_LARGE_BAUDRATE
|
|
+ bool "ingenic baudrate add support greater than 1M"
|
|
+ depends on SERIAL_INGENIC_UART=y
|
|
+ default y
|
|
+
|
|
+config SERIAL_INGENIC_MAGIC_SYSRQ
|
|
+ bool "ingenic uart enable Magic SysRq key"
|
|
+ depends on MAGIC_SYSRQ=y && SERIAL_INGENIC_UART=y
|
|
+ default n
|
|
+
|
|
endmenu
|
|
|
|
config SERIAL_MCTRL_GPIO
|