[PATCH] ARM: shmobile: defconfig: Disable unneeded 8250 serial options

Geert Uytterhoeven geert+renesas at glider.be
Fri Jan 28 04:10:44 PST 2022


The only Renesas platform with 16550 serial ports is Emma Mobile EV2,
which does not need any of the following options:
  - CONFIG_SERIAL_8250_DEPRECATED_OPTIONS,
  - CONFIG_SERIAL_8250_16550A_VARIANTS,
  - CONFIG_SERIAL_8250_PCI,
  - CONFIG_SERIAL_8250_PERICOM (new in v5.17-rc1).

Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
To be queued in renesas-devel for v5.18.

 arch/arm/configs/shmobile_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
index 2c2702ec6d025a22..db8df8a3a7b12d13 100644
--- a/arch/arm/configs/shmobile_defconfig
+++ b/arch/arm/configs/shmobile_defconfig
@@ -69,9 +69,13 @@ CONFIG_INPUT_DA9063_ONKEY=y
 CONFIG_INPUT_ADXL34X=y
 # CONFIG_LEGACY_PTYS is not set
 CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
+# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
 CONFIG_SERIAL_8250_CONSOLE=y
+# CONFIG_SERIAL_8250_PCI is not set
 CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_8250_EM=y
+# CONFIG_SERIAL_8250_PERICOM is not set
 CONFIG_SERIAL_SH_SCI=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_DEMUX_PINCTRL=y
-- 
2.25.1




More information about the linux-arm-kernel mailing list