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 <anonymous>' has no 
member named 'fpga_size'
  fpga.size = zynq_fpga_descs[cpu_id].fpga_size;
                                     ^

Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
 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.
-- 
2.20.1

Reply via email to