- Jan 10, 2017
-
-
Michal Simek authored
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 <michal.simek@xilinx.com>
-
- Dec 16, 2016
-
-
Patrick Bruenn authored
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 rtc Signed-off-by:
Patrick Bruenn <p.bruenn@beckhoff.com>
-
- Sep 23, 2016
-
-
Masahiro Yamada authored
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>) Replace all include directives for <asm/errno.h> with <linux/errno.h>. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Fixup include/clk.] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 22, 2016
-
-
Siva Durga Prasad Paladugu authored
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 PL Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add missing Kconfig to fpga subsystem to be able to add new options. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jul 16, 2016
-
-
Robert P. J. Day authored
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 <rpjday@crashcourse.ca>
-
- May 24, 2016
-
-
Michal Simek authored
Trivial patch. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Mar 24, 2016
-
-
Stefan Roese authored
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 <sr@denx.de> Cc: Tom Rini <trini@konsulko.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Mar 22, 2016
-
-
Vagrant Cascadian authored
Signed-off-by:
Vagrant Cascadian <vagrant@debian.org> Acked-by:
Marek Vasut <marex@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Feb 04, 2016
-
-
Dinh Nguyen authored
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 <dinguyen@opensource.altera.com>
-
- Jan 27, 2016
-
-
Siva Durga Prasad Paladugu authored
Check for substrings in deviceID validation check so that it can support xa bitstreams also. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jan 16, 2016
-
-
Dinh Nguyen authored
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 <dinguyen@opensource.altera.com>
-
- Nov 20, 2015
-
-
Simon Glass authored
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 <sjg@chromium.org>
-
- Aug 08, 2015
-
-
Marek Vasut authored
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 <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
-
- Jan 21, 2015
-
-
Michal Simek authored
Show fpga_op->info even if desc->iface_fns is not defined. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Michal Simek authored
Ensure that operations are correctly setup. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Michal Simek authored
SPL needs to detect FPGA device which will be used for loading bitstream. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 23, 2014
-
-
Suriyan Ramasami authored
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 <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org> [trini: Update board/gdsys/p1022/controlcenterd-id.c, drivers/fpga/zynqpl.c for changes] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Oct 06, 2014
-
-
Pavel Machek authored
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 <pavel@denx.de> Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> V2: Move the not-CPU specific stuff into drivers/fpga/ and base this on the cleaned up altera FPGA support.
-
Marek Vasut authored
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 <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by:
Pavel Machek <pavel@denx.de>
-
Marek Vasut authored
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 <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by:
Pavel Machek <pavel@denx.de>
-
Marek Vasut authored
Move the function to the top of the file to avoid forward declaration. No functional change. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by:
Pavel Machek <pavel@denx.de>
-
Marek Vasut authored
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 <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by:
Pavel Machek <pavel@denx.de>
-
Marek Vasut authored
Boldly go, where no programmer has gone before and just clean up the indentation mayhem. No functional change. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de>
-
Marek Vasut authored
Clean up the printf() statements and get rid of the PRINTF() macro by replacing it with debug_cond(). Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by:
Pavel Machek <pavel@denx.de>
-
- Jun 11, 2014
-
-
Simon Glass authored
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 <sjg@chromium.org>
-
- May 20, 2014
-
-
Siva Durga Prasad Paladugu authored
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] <interface> [<dev[:part]>] <filename> Example: fpga loadfs 0 1000000 3dbafc 4000 mmc 0 fpga.bin Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
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 <michal.simek@xilinx.com>
-
Michal Simek authored
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 <michal.simek@xilinx.com>
-
- May 13, 2014
-
-
Siva Durga Prasad Paladugu authored
Use helper function zynq_validate_bitstream so that the code can be reused easily for different cases of dma transfer. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Use zynq_dma_xfer_init, zynq_align_dma_buffer, zynq_dma_transfer helper function performing dma transfers so that the code can be reused easily for different cases of dma transfer. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Warnings: drivers/fpga/zynqpl.c:150:32: warning: Using plain integer as NULL pointer drivers/fpga/zynqpl.c:152:16: warning: Using plain integer as NULL pointer Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
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 <michal.simek@xilinx.com>
-
Michal Simek authored
No functional changes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
No functional changes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
No functional changes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
No functional changes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Mar 04, 2014
-
-
Alexey Brodkin authored
Copied from Linux sources "include/linux/sizes.h" commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Tom Rini <trini@ti.com> Cc: Stefan Roese <sr@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Acked-by:
Tom Rini <trini@ti.com> Acked-by:
Stefan Roese <sr@denx.de> [trini: Add bcm Kona platforms to the patch] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Feb 06, 2014
-
-
Novasys Ingenierie authored
When ARCH_DMA_MINALIGN is greater than header size of the bit file, and buf is not aligned, new_buf address became greater then buf_start address and the load_word loop corrupts bit file data. A work around is to decrease new_buf of ARCH_DMA_MINALIGN, it might corrupt data before buf but permits to load correctly. Signed-off-by:
Stany MARCEL <smarcel@novasys-ingenierie.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 17, 2013
-
-
Masahiro Yamada authored
- Descend into drivers/fpga/ only when CONFIG_FPGA=y - Descend into drivers/bios_emulator only when CONFIG_BIOSEMU=y Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-