summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorJonathan Humphreys <j-humphreys@ti.com>2024-12-20 15:53:34 -0600
committerTom Rini <trini@konsulko.com>2025-01-21 09:27:41 -0600
commit9b5ff131d0be0ba1443977b5eaae75eadefa10ce (patch)
tree8f83f94cb340547d17cb0c1d7babf6e44a6705ab /drivers/fpga
parent9698e8ddbf95ea366d748b03c41c07416d312d23 (diff)
configs: am62x_evm_*: Set DFU buffer size to 256k
OSPI flash writing was broken on am62x SKs as the OSPI flash device has a 256k sector size but was set to 20k. This breaks OSPI flash writes because the current implementation of the SF DFU backend requires that the DFU data buffer size be the same as the sector erase size, and the USB DFU config fragment (for both A53 and R5) reduced the size of the DFU data buffer, presumably so that it can fit into SPL's much smaller heap. Change the SYS_DFU_DATA_BUF_SIZE to the erase sector size, which still fits within the post-relocation heap size in SPL. Fixes: dfc2dff5a844 ("configs: am62x_evm_*: Enable USB and DFU support") Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions