From: Wadim Egorov Date: Wed, 22 May 2024 07:55:01 +0000 (+0200) Subject: board: phytec: Make AM6 SoM detection depend on I2C X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=12f09c19b7c9cc9c4cbe88b0c33f69eea716c344;p=u-boot.git 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 Tested-by: John Ma Reviewed-by: Dhruva Gole --- diff --git a/board/phytec/common/Kconfig b/board/phytec/common/Kconfig index 1077f0f4b6..56c8290f64 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