net: Return the load address from parse_args()
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:25:18 +0000 (17:25 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
commit4b6070e056fc2c11b7621c32151f95f7a045ac01
tree88dd4c76d95ed103e5b6513c4f9c01dc5882b44f
parentf1ece5d86e5577ae9bb3325d65ed7003f3cbaf9e
net: Return the load address from parse_args()

Rather than updating the global, update the value of a parameter, so the
action of the function is simpler.

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