[PATCH 1/3] fastboot: lift restrictions on !NET_LWIP for USB

Jerome Forissier jerome.forissier at linaro.org
Wed Mar 12 09:25:15 CET 2025


Hi Michael,

On 3/12/25 08:36, Michael Walle wrote:
> Fastboot works either over TCP, UDP or USB. The latter doesn't have
> anything to do with networking, thus should work just fine with
> regardless which network stack is selected. In practice, header symbols
> are used inside common code paths. Add some ifdeffery to guard against
> that.
> 
> This will make fastboot over USB work with the new LWIP stack.
> 
> Signed-off-by: Michael Walle <mwalle at kernel.org>
> ---
> Alternatively, we could add the defines and stub functions to the lwip
> header.
> ---
>  cmd/fastboot.c               | 4 ++++
>  drivers/fastboot/Kconfig     | 1 -
>  drivers/fastboot/fb_common.c | 4 ++++
>  3 files changed, 8 insertions(+), 1 deletion(-)
[...]

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

Thanks,
-- 
Jerome


More information about the U-Boot mailing list