[PATCH v9 03/13] fpga: xilinx: add bitstream flags to driver desc

Michal Simek michal.simek at xilinx.com
Tue Jun 7 13:54:47 CEST 2022



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.suvorov at 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


More information about the U-Boot mailing list