mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
committed by
Michal Simek
parent
659208da47
commit
8b93a92f6d
@@ -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);
|
||||
|
Reference in New Issue
Block a user