boot: Split pxe label_boot() into two parts
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:25:04 +0000 (17:25 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
commitff9fef41fe4d329a5c76746cc45f9fbf8fdb9b12
tree95e1d6c2fd2a5260bf71ab7cb3628cc8ac334940
parent0fd3ed1cd73d6b262c204c27cbe6dc1ad1c09e91
boot: Split pxe label_boot() into two parts

This function is far too long. Split out the part which builds and runs
the bootm/i/z commands into its own function.

Add a function comment for the new label_run_boot() function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
boot/pxe_utils.c