From 1e4532a4a32c8fafb3f254c664b981b013785b92 Mon Sep 17 00:00:00 2001 From: Ahmad Chaudhry Date: Wed, 29 May 2024 17:28:47 +0000 Subject: [PATCH] ANDROID: Build some tegra configs as vendor module Build some configs that are tristate and selected by CONFIG_ARCH_TEGRA as vendor modules rather than built-in. Bug: 335325897 Change-Id: I7ce4cf975fcbc834bc5fc3c90317d9d81162185a Signed-off-by: Ahmad Chaudhry --- drivers/amba/Kconfig | 1 - drivers/gpio/Kconfig | 1 - drivers/i2c/busses/Kconfig | 1 - drivers/tty/serial/8250/Kconfig | 1 - 4 files changed, 4 deletions(-) diff --git a/drivers/amba/Kconfig b/drivers/amba/Kconfig index fb6c7e0b4cce..73f8cd696561 100644 --- a/drivers/amba/Kconfig +++ b/drivers/amba/Kconfig @@ -6,7 +6,6 @@ if ARM_AMBA config TEGRA_AHB bool - default y if ARCH_TEGRA help Adds AHB configuration functionality for NVIDIA Tegra SoCs, which controls AHB bus master arbitration and some performance diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 3e8e5f4ffa59..2396585d88a7 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -633,7 +633,6 @@ config GPIO_TB10X config GPIO_TEGRA tristate "NVIDIA Tegra GPIO support" - default ARCH_TEGRA depends on ARCH_TEGRA || COMPILE_TEST depends on OF_GPIO select GPIOLIB_IRQCHIP diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index e50f9603d189..9789a3f373f3 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -1121,7 +1121,6 @@ config I2C_TEGRA config I2C_TEGRA_BPMP tristate "NVIDIA Tegra BPMP I2C controller" depends on TEGRA_BPMP || COMPILE_TEST - default y if TEGRA_BPMP help If you say yes to this option, support will be included for the I2C controller embedded in NVIDIA Tegra SoCs accessed via the BPMP. diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 583a340f9934..7bd40a209e9e 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -522,7 +522,6 @@ config SERIAL_8250_PXA config SERIAL_8250_TEGRA tristate "8250 support for Tegra serial ports" - default SERIAL_8250 depends on SERIAL_8250 depends on ARCH_TEGRA || COMPILE_TEST help