[PATCH v2] xilinx: Remove tftp block size 4096

Michal Simek michal.simek at amd.com
Wed Mar 5 12:42:42 CET 2025



On 3/4/25 05:30, Padmarao Begari wrote:
> The zynqmp gem driver support max MTU size 1536, so remove tftp
> block size 4096 from defconfig and use default tftp block size.
> 
> Fixes: a33b4b96b3cf ("xilinx: Enable MBEDTLS/LWIP/WGET and WGET_HTTPS")
> Signed-off-by: Padmarao Begari <padmarao.begari at amd.com>
> ---
> Changes in v2:
> - Add fixes in commit message
> - Remove tftp block size for versal2
> ---
>   configs/amd_versal2_virt_defconfig       | 1 -
>   configs/xilinx_versal_net_virt_defconfig | 1 -
>   configs/xilinx_versal_virt_defconfig     | 1 -
>   3 files changed, 3 deletions(-)
> 
> diff --git a/configs/amd_versal2_virt_defconfig b/configs/amd_versal2_virt_defconfig
> index 8bee002777..9911caa0e4 100644
> --- a/configs/amd_versal2_virt_defconfig
> +++ b/configs/amd_versal2_virt_defconfig
> @@ -70,7 +70,6 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_NET_LWIP=y
>   CONFIG_NET_RANDOM_ETHADDR=y
> -CONFIG_TFTP_BLOCKSIZE=4096
>   CONFIG_SIMPLE_PM_BUS=y
>   CONFIG_CLK_CCF=y
>   CONFIG_CLK_SCMI=y
> diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_versal_net_virt_defconfig
> index 5ef5fd44fd..1604b5915d 100644
> --- a/configs/xilinx_versal_net_virt_defconfig
> +++ b/configs/xilinx_versal_net_virt_defconfig
> @@ -70,7 +70,6 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_NET_LWIP=y
>   CONFIG_NET_RANDOM_ETHADDR=y
> -CONFIG_TFTP_BLOCKSIZE=4096
>   CONFIG_SIMPLE_PM_BUS=y
>   CONFIG_CLK_VERSAL=y
>   CONFIG_DFU_RAM=y
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index f228eef7c9..baa4b8e412 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -74,7 +74,6 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>   CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_NET_LWIP=y
>   CONFIG_NET_RANDOM_ETHADDR=y
> -CONFIG_TFTP_BLOCKSIZE=4096
>   CONFIG_SIMPLE_PM_BUS=y
>   CONFIG_CLK_VERSAL=y
>   CONFIG_DFU_TIMEOUT=y

Applied.
M


More information about the U-Boot mailing list