01 Mar, 2018
2 commits
-
This patch added Kconfig support for CONFIG_FPGA_ZYNQPL and migrates the
values over to the defconfigs.Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu -
This patch added Kconfig support for FPGA_SPARTAN3 and migrates the
values over to the defconfigs.Signed-off-by: Vipul Kumar
Signed-off-by: Siva Durga Prasad Paladugu
24 Jan, 2018
1 commit
-
wait_for_bit callers use the 32 bit LE version
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Daniel Schwierzeck
Reviewed-by: Jagan Teki
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
26 Nov, 2017
1 commit
-
Existing FPGA program write is always assume RBF data >= 32 bytes, so
any rbf data less than 32 bytes writing to FPGA would be failed.
This patch enhances the FPGA program write to support rbf data with
size >= 4 bytes.Signed-off-by: Tien Fong Chee
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
26 Jul, 2017
3 commits
-
Add FPGA driver support for Arria 10.
Signed-off-by: Tien Fong Chee
Reviewed-by: Ley Foon Tan
Reviewed-by: Dinh Nguyen -
This converts the following to Kconfig:
CONFIG_FPGA_SOCFPGASigned-off-by: Tien Fong Chee
Reviewed-by: Ley Foon Tan
Reviewed-by: Dinh Nguyen -
Move FPGA driver which is Gen5 specific code into Gen5 driver file
and keeping common FPGA driver intact. All the changes are still keeping
in driver/fpga/ and no functional change. Subsequent patch would move
FPGA manager driver from arch/arm into driver/fpga/.Signed-off-by: Tien Fong Chee
Reviewed-by: Ley Foon Tan
Reviewed-by: Dinh Nguyen
20 Jun, 2017
1 commit
-
Reuse invoke_smc() routine which is already defined
instead of duplicating same at multiple places.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
18 Apr, 2017
1 commit
-
The number of arguments for printf does not match the
format string.The problem was indicated by cppcheck.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Tom Rini
10 Jan, 2017
1 commit
-
Xilinx core files will take care about it.
There is no need to have these functions because they do nothing.Signed-off-by: Michal Simek
16 Dec, 2016
1 commit
-
Add CX9020 board based on mx53loco.
Add simplified imx53 base device tree from kernel v4.8-rc8, to reuse
serial_mxc with DTE and prepare for device tree migration of other
functions and imx53 devices.The CX9020 differs from i.MX53 Quick Start Board by:
- use uart2 instead of uart1
- DVI-D connector instead of VGA
- no audio
- CCAT FPGA connected to emi
- enable rtcSigned-off-by: Patrick Bruenn
24 Sep, 2016
1 commit
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini
22 Sep, 2016
2 commits
-
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 -
Add missing Kconfig to fpga subsystem to be able
to add new options.Signed-off-by: Michal Simek
16 Jul, 2016
1 commit
-
Fix a number of typos, including:
* "compatble" -> "compatible"
* "eanbeld" -> "enabled"
* "envrionment" -> "environment"
* "FTD" -> "FDT" (for "flattened device tree")
* "ommitted" -> "omitted"
* "overriden" -> "overridden"
* "partiton" -> "partition"
* "propogate" -> "propagate"
* "resourse" -> "resource"
* "rest in piece" -> "rest in peace"
* "suport" -> "support"
* "varible" -> "variable"Signed-off-by: Robert P. J. Day
24 May, 2016
1 commit
-
Trivial patch.
Signed-off-by: Michal Simek
24 Mar, 2016
1 commit
-
This patch adds support for programming of the StratixV FPGAs. Programming
is done in this case (board theadorable) via SPI. The board may provide
board specific code for bitstream programming.This StratixV support will be used by the theadorable board.
Signed-off-by: Stefan Roese
Cc: Tom Rini
Signed-off-by: Stefan Roese
23 Mar, 2016
1 commit
-
Signed-off-by: Vagrant Cascadian
Acked-by: Marek Vasut
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
04 Feb, 2016
1 commit
-
Apparently, the logic for the FPGA global bit is not universal between Gen5
and Gen10 devices is not the same. Disabling this bit, while applicable to
Gen10 devices, will break FPGA programming on Gen5 devices.Signed-off-by: Dinh Nguyen
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
16 Jan, 2016
1 commit
-
We should be setting the FPGA Interface Group global bit that will correctly
disable all interfaces between the FPGA and HPS.Signed-off-by: Dinh Nguyen
20 Nov, 2015
1 commit
-
The console includes a global variable and several functions that are only
used by a small subset of U-Boot files. Before adding more functions, move
the definitions into their own header file.Signed-off-by: Simon Glass
08 Aug, 2015
1 commit
-
In case the FPGA bitstream is aligned to 4 bytes, skip the
part of the assembler which handles unaligned bitstream.
Otherwise, that part will loop indefinitelly.Signed-off-by: Marek Vasut
Cc: Dinh Nguyen
21 Jan, 2015
3 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 -
SPL needs to detect FPGA device which will be used
for loading bitstream.Signed-off-by: Michal Simek
23 Nov, 2014
1 commit
-
The sandbox/ext4/fat/generic fs commands do not gracefully deal with files
greater than 2GB. Negative values are returned in such cases.To handle this, the fs functions have been modified to take an additional
parameter of type "* loff_t" which is then populated. The return value
of the fs functions are used only for error conditions.Signed-off-by: Suriyan Ramasami
Acked-by: Simon Glass
[trini: Update board/gdsys/p1022/controlcenterd-id.c,
drivers/fpga/zynqpl.c for changes]
Signed-off-by: Tom Rini
06 Oct, 2014
7 commits
-
Add code necessary to program the FPGA part of SoCFPGA from U-Boot
with an RBF blob. This patch also integrates the code into the
FPGA driver framework in U-Boot so it can be used via the 'fpga'
command.Signed-off-by: Pavel Machek
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel MachekV2: Move the not-CPU specific stuff into drivers/fpga/ and base
this on the cleaned up altera FPGA support. -
Add a table of FPGA family with matching functions associated with
it and make all the code just look up the family in that table and
call the associated function instead of the horrible switch voodoo
which was duplicated all over the place.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek -
Make the function return either 0 or -EINVAL, that is, normal
expected error codes and success codes instead of true/false
nonsense.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek -
Move the function to the top of the file to avoid forward declaration.
No functional change.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek -
Further improve the indentation in the rest of the file, where
the indentation is initially a bit less brutal. There is no
functional change in this patch.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek -
Boldly go, where no programmer has gone before and just clean up
the indentation mayhem. No functional change.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek -
Clean up the printf() statements and get rid of the PRINTF()
macro by replacing it with debug_cond().Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Albert Aribaud
Cc: Tom Rini
Cc: Wolfgang Denk
Cc: Pavel Machek
Acked-by: Pavel Machek
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
3 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 -
Do not do partial bitstream detection based on bitstream
size and use bitstream_type argument which is passed
from the fpga core.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