aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2024-05-22 09:55:01 +0200
committerTom Rini <trini@konsulko.com>2024-06-07 14:02:26 -0600
commit12f09c19b7c9cc9c4cbe88b0c33f69eea716c344 (patch)
treebef71deca52e11b0f0c0f15540732c38419ac677
parent42826664e4452304bdadc909d7c5f791d4abc552 (diff)
downloadu-boot-12f09c19b7c9cc9c4cbe88b0c33f69eea716c344.zip
u-boot-12f09c19b7c9cc9c4cbe88b0c33f69eea716c344.tar.gz
u-boot-12f09c19b7c9cc9c4cbe88b0c33f69eea716c344.tar.bz2
board: phytec: Make AM6 SoM detection depend on I2C
SoM detection is using I2C driver model functions. Let's depend on I2C. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Tested-by: John Ma <jma@phytec.com> Reviewed-by: Dhruva Gole <d-gole@ti.com>
-rw-r--r--board/phytec/common/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/phytec/common/Kconfig b/board/phytec/common/Kconfig
index 1077f0f..56c8290 100644
--- a/board/phytec/common/Kconfig
+++ b/board/phytec/common/Kconfig
@@ -16,6 +16,7 @@ config PHYTEC_AM62_SOM_DETECTION
bool "Support SoM detection for AM62x PHYTEC platforms"
depends on (TARGET_PHYCORE_AM62X_A53 || TARGET_PHYCORE_AM62X_R5) && \
PHYTEC_SOM_DETECTION
+ depends on SPL_I2C && DM_I2C
default y
help
Support of I2C EEPROM based SoM detection. Supported
@@ -25,6 +26,7 @@ config PHYTEC_AM64_SOM_DETECTION
bool "Support SoM detection for AM64x PHYTEC platforms"
depends on (TARGET_PHYCORE_AM64X_A53 || TARGET_PHYCORE_AM64X_R5) && \
PHYTEC_SOM_DETECTION
+ depends on SPL_I2C && DM_I2C
default y
help
Support of I2C EEPROM based SoM detection. Supported