On 6/1/22 10:46, Oleksandr Suvorov wrote:
Store a set of supported bitstream types in xilinx_desc structure.
It will be used to determine whether an FPGA image is able to be
loaded with a given driver.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvo...@foundries.io>
---

(no changes since v1)

  include/versalpl.h | 2 +-
  include/xilinx.h   | 5 +++++
  include/zynqmppl.h | 2 +-

And to be more accurate you should also extend configuration for zynq.
FPGA_LEGACY is bit 1 and you are missing it here.


 20 #if CONFIG_IS_ENABLED(FPGA)
 21 xilinx_desc fpga = {
 22         .family = xilinx_zynq,
 23         .iface = devcfg,
 24         .operations = &zynq_op,
 25 };
 26 #endif

Thanks,
Michal

Reply via email to