[v2,1/1] defconfig: enable SERIAL_SH_SCI

Message ID 20210407101406.8562-1-andriy.shevchenko@linux.intel.com
State New
Headers show
Series
  • [v2,1/1] defconfig: enable SERIAL_SH_SCI
Related show

Commit Message

Andy Shevchenko April 7, 2021, 10:14 a.m.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: fixed one typo
 arch/x86/configs/i386_defconfig   | 1 +
 arch/x86/configs/x86_64_defconfig | 1 +
 drivers/tty/serial/Kconfig        | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
index 396b5d4781ed..d696336674b0 100644
--- a/arch/x86/configs/i386_defconfig
+++ b/arch/x86/configs/i386_defconfig
@@ -347,6 +347,7 @@  CONFIG_SERIAL_8250_DMA=y
 CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_PCH_UART=y
 CONFIG_SERIAL_PCH_UART_CONSOLE=y
+CONFIG_SERIAL_SH_SCI=m
 CONFIG_MMC=m
 CONFIG_MMC_SDHCI=m
 CONFIG_MMC_SDHCI_PCI=m
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index 49bd168a1f6a..20a955acf775 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -343,6 +343,7 @@  CONFIG_SERIAL_8250_DMA=y
 CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_PCH_UART=y
 CONFIG_SERIAL_PCH_UART_CONSOLE=y
+CONFIG_SERIAL_SH_SCI=m
 CONFIG_MMC=m
 CONFIG_MMC_SDHCI=m
 CONFIG_MMC_SDHCI_PCI=m
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index e6f55c28cc2e..584e0d166e31 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -651,7 +651,7 @@  config SERIAL_IP22_ZILOG_CONSOLE
 
 config SERIAL_SH_SCI
 	tristate "SuperH SCI(F) serial port support"
-	depends on SUPERH || ARCH_RENESAS || H8300 || COMPILE_TEST
+	depends on SUPERH || ARCH_RENESAS || H8300 || COMPILE_TEST || X86
 	select SERIAL_CORE
 	select SERIAL_MCTRL_GPIO if GPIOLIB