fpga: allow programming fpga from FIT image for all FPGA drivers
authorGoldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com>
Fri, 10 Nov 2017 14:17:41 +0000 (14:17 +0000)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 14 Dec 2017 15:09:39 +0000 (16:09 +0100)
commit8b93a92f6d089c8b3a055c8d89492e73137490b7
treef5b9827101a6e676faa26f8b81f0378935afe280
parent659208da4703de50826a469cbb38bf6afb938978
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>
common/bootm.c
common/image.c
drivers/fpga/fpga.c
drivers/fpga/xilinx.c
include/fpga.h