mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
fpga: zynqmp: add str2flags call
Add a call to convert FPGA "compatible" string to a binary flag. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Tested-by: Ricardo Salveti <ricardo@foundries.io> Tested-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com> Link: https://lore.kernel.org/r/20220722141614.297383-5-oleksandr.suvorov@foundries.io Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
committed by
Michal Simek
parent
d7fcbfc19b
commit
24307b06b7
@@ -60,6 +60,9 @@ struct xilinx_fpga_op {
|
||||
struct fpga_secure_info *fpga_sec_info);
|
||||
int (*dump)(xilinx_desc *desc, const void *buf, size_t bsize);
|
||||
int (*info)(xilinx_desc *desc);
|
||||
#if CONFIG_IS_ENABLED(FPGA_LOAD_SECURE)
|
||||
int (*str2flag)(xilinx_desc *desc, const char *string);
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Generic Xilinx Functions
|
||||
|
||||
Reference in New Issue
Block a user