From patchwork Thu Jan 23 08:26:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 239952 List-Id: U-Boot discussion From: oliver at schinagl.nl (Olliver Schinagl) Date: Thu, 23 Jan 2020 09:26:12 +0100 Subject: [PATCH] Kconfig/fpga_zynq: Depend on FPGA Message-ID: <20200123082612.22626-1-oliver@schinagl.nl> The zynq FPGA bits require the main FPGA bits to be enabled as we otherwise get the following compiler error: arch/arm/mach-zynq/cpu.c: In function 'arch_early_init_r': arch/arm/mach-zynq/cpu.c:118:37: error: 'const struct ' has no member named 'fpga_size' fpga.size = zynq_fpga_descs[cpu_id].fpga_size; ^ Signed-off-by: Olliver Schinagl --- drivers/fpga/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index fe398a1d49..1d2df617d0 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -81,6 +81,7 @@ config FPGA_VIRTEX2 config FPGA_ZYNQPL bool "Enable Xilinx FPGA for Zynq" depends on ARCH_ZYNQ + select FPGA help Enable FPGA driver for loading bitstream in BIT and BIN format on Xilinx Zynq devices.