[PATCH 0/3] firmware: zynqmp-fpga: fix fpga loading with optimized string functions
Michael Tretter
m.tretter at pengutronix.de
Wed Aug 18 06:35:02 PDT 2021
If CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is enabled, loading the FPGA fails
with an abort, because the optimized memcpy can only be used on cached memory.
As the bitstream can be several MBs large, we want to use the optimized
functions. Fix the abort by using a cached mapping with streaming DMA.
Michael Tretter (3):
firmware: zynqmp-fpga: initialize flags at function start
firmware: zynqmp-fpga: avoid additional buffer for size argument
firmware: zynqmp-fpga: do not use DMA coherent memory for bitstream
drivers/firmware/zynqmp-fpga.c | 54 ++++++++++++++++------------------
1 file changed, 26 insertions(+), 28 deletions(-)
--
2.30.2
More information about the barebox
mailing list