From: Dominik Haller <d.hal...@phytec.de>

Add the option to choose a different bus number than 0 for the i2c eeprom
based som detection.

Signed-off-by: Dominik Haller <d.hal...@phytec.de>
Signed-off-by: Wadim Egorov <w.ego...@phytec.de>
---
 board/phytec/common/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/board/phytec/common/Kconfig b/board/phytec/common/Kconfig
index 65451a3b20d..08d6e5f3683 100644
--- a/board/phytec/common/Kconfig
+++ b/board/phytec/common/Kconfig
@@ -59,3 +59,9 @@ config PHYTEC_AM64_SOM_DETECTION
        help
           Support of I2C EEPROM based SoM detection. Supported
           for PHYTEC AM64x boards.
+
+config PHYTEC_EEPROM_BUS
+       int "Board EEPROM's I2C bus number"
+       range 0 8
+       default 0
+       depends on PHYTEC_SOM_DETECTION
-- 
2.48.1

Reply via email to