aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/muxes
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-10 23:03:09 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 09:29:08 -0400
commitb340199f828e7d57945785b698ff97469972d1ca (patch)
tree117ba774591d068ff037e4a2e6b1bca39d9fc037 /drivers/i2c/muxes
parentabba59f1155aa45daf37c59e248164387482a3c4 (diff)
downloadu-boot-b340199f828e7d57945785b698ff97469972d1ca.zip
u-boot-b340199f828e7d57945785b698ff97469972d1ca.tar.gz
u-boot-b340199f828e7d57945785b698ff97469972d1ca.tar.bz2
spl: Ensure all SPL symbols in Kconfig have some SPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a SPL specific option has at least a direct dependency on SPL. In places where it's clear that we depend on something more specific, use that dependency instead. This means in a very small number of places we can drop redundant dependencies. Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/i2c/muxes')
-rw-r--r--drivers/i2c/muxes/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/Kconfig b/drivers/i2c/muxes/Kconfig
index 39683fc..323c4fb 100644
--- a/drivers/i2c/muxes/Kconfig
+++ b/drivers/i2c/muxes/Kconfig
@@ -9,7 +9,7 @@ config I2C_MUX
config SPL_I2C_MUX
bool "Support I2C multiplexers on SPL"
- depends on I2C_MUX
+ depends on SPL && I2C_MUX
help
This enables I2C buses to be multiplexed, so that you can select
one of several buses using some sort of control mechanism. The