]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
drivers: fpga: add Kconfig dependency
authorPieter Van Trappen <pieter.van.trappen@cern.ch>
Tue, 8 Jul 2025 15:24:47 +0000 (17:24 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 24 Jul 2025 06:54:15 +0000 (08:54 +0200)
FPGA_SOCFPGA requires ARCH_SOCFPGA cause socfpga.c contains
arch/arm/mach-socfpga/* include macros.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
Link: https://lore.kernel.org/r/20250708152455.1214487-3-vtpieter@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/fpga/Kconfig

index 62cb77b098cb5c2510baa2cfcea3ef97b5496004..9456ca3149aeea8014fa21355598b34b89ed8c52 100644 (file)
@@ -15,6 +15,7 @@ config FPGA_ALTERA
 
 config FPGA_SOCFPGA
        bool "Enable Gen5 and Arria10 common FPGA drivers"
+       depends on ARCH_SOCFPGA
        select FPGA_ALTERA
        help
          Say Y here to enable the Gen5 and Arria10 common FPGA driver