]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: ti: Fix CAPE_EEPROM_BUS_NUM Kconfig dependency
authorKory Maincent (TI.com) <kory.maincent@bootlin.com>
Thu, 30 Oct 2025 16:44:56 +0000 (17:44 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Nov 2025 16:02:38 +0000 (10:02 -0600)
The CAPE_EEPROM_BUS_NUM configuration option was incorrectly depending
on CMD_EXTENSION, which represents the extension board command. However,
the cape scan functionality can be built and used independently of the
command interface through the SUPPORT_EXTENSION_SCAN option.

Change the dependency from CMD_EXTENSION to SUPPORT_EXTENSION_SCAN to
properly reflect that the I2C bus configuration is needed for the cape
scan function itself, not specifically for the command.

Signed-off-by: Kory Maincent (TI.com) <kory.maincent@bootlin.com>
board/ti/common/Kconfig

index f481812247cff042c0444842307b24a5274ca701..9512c5c23f1adafe53cfb006d8d074f8293b0848 100644 (file)
@@ -20,7 +20,7 @@ config CAPE_EEPROM_BUS_NUM
        int "Cape EEPROM's I2C bus address"
        range 0 8
        default 2
-       depends on CMD_EXTENSION
+       depends on SUPPORT_EXTENSION_SCAN
 
 config TI_COMMON_CMD_OPTIONS
        bool "Enable cmd options on TI platforms"