Skip to content
Snippets Groups Projects
Commit c83a35f6 authored by Novasys Ingenierie's avatar Novasys Ingenierie Committed by Michal Simek
Browse files

fpga: zynq: Correct fpga load when buf is not aligned


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: default avatarStany MARCEL <smarcel@novasys-ingenierie.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent e141652b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment