[PATCH] net: tftpput: Rework to exclude code from xPL phases

Jerome Forissier jerome at forissier.org
Fri Jan 2 16:12:41 CET 2026


Hi Tom,

On 12/25/25 16:37, Tom Rini wrote:
> Given how the support for CONFIG_CMD_TFTPPUT is woven through the
> support for the tftp protocol we currently end up including "put"
> support in xPL phases, if enabled. This in turn can lead to size
> overflow on those platforms as xPL tends to be constrained. To resolve
> this, use "CMD_TFTPPUT" in the code to check for both CONFIG_CMD_TFTPPUT
> being true and not being in an xPL build phase.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Jerome Forissier <jerome.forissier at arm.com>

>From now on, and pending discussions with my new employer, I'd rather use
my personal email (jerome at forissier.org) for open source contributions.
I've sent a patch to update MAINTAINERS and .mailmap [1].

[1] https://lists.denx.de/pipermail/u-boot/2026-January/606610.html

> ---
>  net/tftp.c | 31 ++++++++++++++++++++-----------
>  1 file changed, 20 insertions(+), 11 deletions(-)

Reviewed-by: Jerome Forissier <jerome at forissier.org>

Thanks,
-- 
Jerome


More information about the U-Boot mailing list