]> Git Repo - u-boot.git/commit
ARM: stm32: Use default CONFIG_TFTP_BLOCKSIZE on DHSOM
authorMarek Vasut <[email protected]>
Sun, 1 May 2022 16:43:28 +0000 (18:43 +0200)
committerPatrice Chotard <[email protected]>
Tue, 10 May 2022 11:54:47 +0000 (13:54 +0200)
commit9da04c17a36f10d9ab8702751e1412f2edc91236
tree666cb9aa0c9675ea76a49d0eb77d77fba326a32a
parentd6ae1839650b6f4ea49c0ffbfcce6d50dce2f731
ARM: stm32: Use default CONFIG_TFTP_BLOCKSIZE on DHSOM

The DHCOM does ship with KS8851 with 1.5 kiB packet buffer. The DHSOM
may be extended with other MAC options connected to FMC2 bus, like the
DM9000, wih similar limitations. Use default CONFIG_TFTP_BLOCKSIZE of
1468 Bytes instead of 1536 Bytes, which always avoids overflowing the
packet buffers of such limited MACs, which leads to e.g. TFTP timeouts.
This also avoids receiving a short packet fragment at the end of each
TFTP block, which led to reduced performance.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Ramon Fried <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
This page took 0.036015 seconds and 4 git commands to generate.