[PATCH 08/11] Kconfig: i2c: Depend on correct xPL symbol
Jonas Karlman
jonas at kwiboo.se
Thu Jul 9 00:05:34 CEST 2026
Change to depend on the xPL symbol instead of the SUPPORT_xPL symbol to
only make the xPL_SYS_I2C_LEGACY symbols available when xPL is enabled.
Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
drivers/i2c/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index ab5af17858c8..125dc84819e6 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -78,14 +78,14 @@ config SYS_I2C_LEGACY
config SPL_SYS_I2C_LEGACY
bool "Enable legacy I2C subsystem and drivers in SPL"
- depends on SUPPORT_SPL && !SPL_DM_I2C
+ depends on SPL && !SPL_DM_I2C
help
Enable the legacy I2C subsystem and drivers in SPL. This is useful
in some size constrained situations.
config TPL_SYS_I2C_LEGACY
bool "Enable legacy I2C subsystem and drivers in TPL"
- depends on SUPPORT_TPL && !SPL_DM_I2C
+ depends on TPL && !TPL_DM_I2C
help
Enable the legacy I2C subsystem and drivers in TPL. This is useful
in some size constrained situations.
--
2.54.0
More information about the U-Boot
mailing list