[PATCH v3 26/46] net: Return the size from parse_args()

Simon Glass sjg at chromium.org
Fri Dec 20 05:05:50 CET 2024


Rather than setting global variables, return the size, if provided. For
tftput, use the addr argument to store the save address, to avoid adding
yet another parameter.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 cmd/net.c | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list