summaryrefslogtreecommitdiff
path: root/configs/stm32mp15_dhcom_basic_defconfig
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-05-01 18:43:28 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2022-05-10 13:54:47 +0200
commit9da04c17a36f10d9ab8702751e1412f2edc91236 (patch)
tree666cb9aa0c9675ea76a49d0eb77d77fba326a32a /configs/stm32mp15_dhcom_basic_defconfig
parentd6ae1839650b6f4ea49c0ffbfcce6d50dce2f731 (diff)
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 <marex@denx.de> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'configs/stm32mp15_dhcom_basic_defconfig')
-rw-r--r--configs/stm32mp15_dhcom_basic_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/stm32mp15_dhcom_basic_defconfig b/configs/stm32mp15_dhcom_basic_defconfig
index ec955eae20..0ff015cae4 100644
--- a/configs/stm32mp15_dhcom_basic_defconfig
+++ b/configs/stm32mp15_dhcom_basic_defconfig
@@ -80,7 +80,6 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SPL_ENV_IS_NOWHERE=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_IP_DEFRAG=y
-CONFIG_TFTP_BLOCKSIZE=1536
CONFIG_STM32_ADC=y
CONFIG_SPL_BLOCK_CACHE=y
CONFIG_DFU_MMC=y