diff options
| author | Oleksandr Suvorov <[email protected]> | 2022-07-22 17:16:07 +0300 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-07-26 09:34:21 +0200 |
| commit | 282eed50ecb73c20dd35bf3ea7a579e79b20cd54 (patch) | |
| tree | 9becfb54fb29f43d7b98a8402cf795ffaae10bc2 /boot | |
| parent | 7a9a0df89bf1cb9f7e78378f946f1d9c9b002d72 (diff) | |
fpga: pass compatible flags to fpga_load()
These flags may be used to check whether an FPGA driver is able to
load a particular FPGA bitstream image.
Signed-off-by: Oleksandr Suvorov <[email protected]>
Tested-by: Ricardo Salveti <[email protected]>
Tested-by: Adrian Fiergolski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/image-board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/image-board.c b/boot/image-board.c index 03c866b5fa8..b846bff2491 100644 --- a/boot/image-board.c +++ b/boot/image-board.c @@ -705,14 +705,14 @@ int boot_get_fpga(int argc, char *const argv[], bootm_headers_t *images, img_len, BIT_FULL); if (err) err = fpga_load(devnum, (const void *)img_data, - img_len, BIT_FULL); + img_len, BIT_FULL, 0); } else { name = "partial"; err = fpga_loadbitstream(devnum, (char *)img_data, img_len, BIT_PARTIAL); if (err) err = fpga_load(devnum, (const void *)img_data, - img_len, BIT_PARTIAL); + img_len, BIT_PARTIAL, 0); } if (err) |
