]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: phytec: common: Add PHYTEC_EEPROM_BUS to Kconfig
authorDominik Haller <d.haller@phytec.de>
Fri, 15 Aug 2025 11:10:48 +0000 (13:10 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 26 Aug 2025 18:49:20 +0000 (12:49 -0600)
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@phytec.de>
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
board/phytec/common/Kconfig

index 65451a3b20d0546102efc28958383116ebf87c6f..08d6e5f368331a4cd8a7df924e6ac12a32e3e871 100644 (file)
@@ -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