08 Oct, 2019
1 commit
-
This patch adds PL bitstream load support for Versal platform. The PL
bitstream is loaded by making an SMC to ATF which in turn communicates
with platform firmware which configures and loads PL bitstream on to PL.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
01 Jun, 2018
1 commit
-
This patch adds support for loading secure bitstreams on ZynqMP
platforms. The secure bitstream images has to be generated using
Xilinx bootgen tool.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
14 Dec, 2017
1 commit
-
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
Tested-by: Michal Simek (On zcu102)
Signed-off-by: Michal Simek
02 Aug, 2017
1 commit
-
Dont use local temporary buffer for printing out the
info instead use directly from memroy. This fixes the
issue of stack corruprion due to local buffer overflow.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
22 Sep, 2016
1 commit
-
Add PL bitstream dowload support for ZynqMP
Bitstream will be validated by uboot and loaded
to PL by invoking an smc instruction to ATF which route this request to
PMU FW which will take care of loading it to PLSigned-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
27 Jan, 2016
1 commit
-
Check for substrings in deviceID validation check
so that it can support xa bitstreams also.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
21 Jan, 2015
2 commits
-
Show fpga_op->info even if desc->iface_fns is not defined.
Signed-off-by: Michal Simek
Reviewed-by: Simon Glass -
Ensure that operations are correctly setup.
Signed-off-by: Michal Simek
Reviewed-by: Simon Glass
12 Jun, 2014
1 commit
-
Most of the warnings seem to be related to using 'int' for size_t. Change
this and fix up the remaining warnings and problems. For bootm, the warning
was masked by others, and there is an actual bug in the code.Signed-off-by: Simon Glass
20 May, 2014
2 commits
-
Added support to load a bitstream image in chunks by reading it in
chunks from SD/MMC.
Command format:
loadfs [dev] [address] [image size] [blocksize]
[]
Example: fpga loadfs 0 1000000 3dbafc 4000 mmc 0 fpga.binSigned-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Clean up partial, full and compressed bitstream handling.
U-Boot supports full bitstream loading and partial
based on detection which is not 100% correct.
Extending fpga_load/fpga_loadbitstream() with one more
argument which stores bitstream type.Signed-off-by: Michal Simek
13 May, 2014
5 commits
-
Connect FPGA version with appropriate operations
to remove huge switch-cases for every FPGA family.
Tested on Zynq. Spartan2/Spartan3/Virtex2 just compile test.Signed-off-by: Michal Simek
-
No functional changes.
Signed-off-by: Michal Simek
-
No functional changes.
Signed-off-by: Michal Simek
-
No functional changes.
Signed-off-by: Michal Simek
-
No functional changes.
Signed-off-by: Michal Simek
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
06 May, 2013
4 commits
-
Ensure that wrong bitstream won't be loaded
to current device.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini -
Devcfg device requires to load bitstream in binary format.
But u-boot also has an option for loading bitstream in bit
format. Let's handle both cases by zynqpl driver.
Also add suport for loading partial bitstreams.The first driver version was done by:
Joe HershbergerSigned-off-by: Michal Simek
Reviewed-by: Tom Rini -
All fpga functions use devnum as int. Only fpga_loadbitstream
is using it as unsinged long dev.
This patch synchronize it.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini -
In bitstream decoding you can directly check device
which you want to load and in fpga.c are fpga_validate
and fpga_dev_info functions which should be used for it.Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
02 Apr, 2013
1 commit
-
'bool' is defined in random places. This patch consolidates them into a
single header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef and enum are removed. They are all consistent with
true = 1, false = 0.Replace FALSE, False with false. Replace TRUE, True with true.
Skip *.py, *.php, lib/* files.Signed-off-by: York Sun
01 Aug, 2011
1 commit
-
Fix compiler warning:
cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
from incompatible pointer typeAdding the needed 'const' here entails a whole bunch of additonal
changes all over the FPGA code.Signed-off-by: Wolfgang Denk
Cc: Andre Schwarz
Cc: Murray Jensen
Acked-by: Andre Schwarz
03 Oct, 2009
1 commit
-
PPC boards are the only users of the current FPGA code which is littered
with manual relocation fixups. Now that proper relocation is supported
for PPC boards, remove FPGA manual relocation.Signed-off-by: Peter Tyser
06 Dec, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD