]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: socfpga: Tighten a few more driver dependencies
authorTom Rini <trini@konsulko.com>
Thu, 25 Sep 2025 20:44:11 +0000 (14:44 -0600)
committerJerome Forissier <jerome.forissier@linaro.org>
Wed, 22 Oct 2025 09:09:24 +0000 (11:09 +0200)
Some drivers which depend on SoCFPGA specific headers had not had
appropriate dependencies list in Kconfig. Add ARCH_SOCFPGA or
TARGET_SOCFPGA_SOC64 where appropriate.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/Kconfig
drivers/power/domain/Kconfig

index 7ae28c4e0d506e10ec10dda2c04a82ed7200aaf4..c2ef9fb52f7e96aac7e1f7beb7f8fd0337c01473 100644 (file)
@@ -190,7 +190,7 @@ config DWC_ETH_XGMAC_SOCFPGA
        bool "Synopsys DWC Ethernet XGMAC device support for SOCFPGA"
        select REGMAP
        select SYSCON
-       depends on DWC_ETH_XGMAC
+       depends on ARCH_SOCFPGA && DWC_ETH_XGMAC
        default y if TARGET_SOCFPGA_AGILEX5
        help
          The Synopsys Designware Ethernet XGMAC IP block with specific
@@ -376,7 +376,7 @@ config ETH_DESIGNWARE_SOCFPGA
        select SYSCON
        select DW_ALTDESCRIPTOR
        bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
-       depends on ETH_DESIGNWARE
+       depends on ARCH_SOCFPGA && ETH_DESIGNWARE
        help
          The Altera SoCFPGA requires additional configuration of the
          Altera system manager to correctly interface with the PHY.
index ebf5d828cb021e1a0f98f97c1d8891c388b6c599..0ad885c9e8ba7fe7f687b5d9bad4ef6384d55276 100644 (file)
@@ -20,7 +20,7 @@ config APPLE_PMGR_POWER_DOMAIN
 
 config AGILEX5_PMGR_POWER_DOMAIN
        bool "Enable the Agilex5 PMGR power domain driver"
-       depends on SPL_POWER_DOMAIN
+       depends on SPL_POWER_DOMAIN && TARGET_SOCFPGA_SOC64
        help
          Enable support for power gating peripherals' SRAM specified in
          the handoff data values obtained from the bitstream to reduce