net: Refactor part of netboot_common() into a function
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:25:21 +0000 (17:25 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
commitbfffdfaaf6f492865100197a5b141482799afc09
tree062e39ce00fe79776b0626934faebe308060f43a
parent25d51d3c798f6e256daa628bb2a9fcc36fde0382
net: Refactor part of netboot_common() into a function

Move the core code for starting an netboot operation into a separate
function, so that we can (with additional work) move towards calling it
from outside the file.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/net.c