diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2025-06-25 15:19:12 +0200 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-07-08 11:07:37 +0200 |
commit | ba814b8b5a74d1bc0cecd3f6031eecb025f28f15 (patch) | |
tree | cd967a55ba33b9b709f94d4d07a68b849dd288e0 /cmd/lwip/tftp.c | |
parent | d63c4434bfa2727b1ecb8162ba49e8a7e69e24b2 (diff) |
lwip: split cmd/net-lwip.c into one file per command
Move each command in cmd/net-lwip.c into its own file
(cmd/lwip/${cmd}.c).
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'cmd/lwip/tftp.c')
-rw-r--r-- | cmd/lwip/tftp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/lwip/tftp.c b/cmd/lwip/tftp.c new file mode 100644 index 00000000000..6bb7a3733a2 --- /dev/null +++ b/cmd/lwip/tftp.c @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* Copyright (C) 2024-2025 Linaro Ltd. */ + +#include <command.h> +#include <net.h> + +U_BOOT_CMD(tftpboot, 3, 0, do_tftpb, + "boot image via network using TFTP protocol", + "[loadAddress] [[hostIPaddr:]bootfilename]"); |