diff options
author | Goldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com> | 2017-11-10 14:17:41 +0000 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-12-14 16:09:39 +0100 |
commit | 8b93a92f6d089c8b3a055c8d89492e73137490b7 (patch) | |
tree | f5b9827101a6e676faa26f8b81f0378935afe280 /common/bootm.c | |
parent | 659208da4703de50826a469cbb38bf6afb938978 (diff) |
fpga: allow programming fpga from FIT image for all FPGA drivers
This drops the limit that fpga is only loaded from FIT images for Xilinx.
This is done by moving the 'partial' check from 'common/image.c' to
'drivers/fpga/xilinx.c' (the only driver supporting partial images yet)
and supplies a weak default implementation in 'drivers/fpga/fpga.c'.
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Tested-by: Michal Simek <michal.simek@xilinx.com> (On zcu102)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'common/bootm.c')
-rw-r--r-- | common/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootm.c b/common/bootm.c index 9493a306cd..adb12137c7 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -248,7 +248,7 @@ int bootm_find_images(int flag, int argc, char * const argv[]) #endif #if IMAGE_ENABLE_FIT -#if defined(CONFIG_FPGA) && defined(CONFIG_FPGA_XILINX) +#if defined(CONFIG_FPGA) /* find bitstreams */ ret = boot_get_fpga(argc, argv, &images, IH_ARCH_DEFAULT, NULL, NULL); |