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

Tom Rini trini at konsulko.com
Fri Jan 2 16:14:19 CET 2026


On Fri, Jan 02, 2026 at 04:12:41PM +0100, Jerome Forissier wrote:
> 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].

Understood, thanks! I wasn't sure what was valid yet and didn't want
this missed.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260102/3446fd3d/attachment.sig>


More information about the U-Boot mailing list