[PATCH 1/4] board: phytec: common: Add PHYTEC_EEPROM_BUS to Kconfig

Wadim Egorov w.egorov at phytec.de
Fri Aug 15 13:10:48 CEST 2025


From: Dominik Haller <d.haller at 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.haller at phytec.de>
Signed-off-by: Wadim Egorov <w.egorov at 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



More information about the U-Boot mailing list