[PATCH v3 10/46] boot: Split pxe label_boot() into two parts

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


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 at chromium.org>
Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
---

(no changes since v2)

Changes in v2:
- Move strlcpy() change into an earlier patch
- Fix 'initaddr' typo'

 boot/pxe_utils.c | 284 ++++++++++++++++++++++++++---------------------
 1 file changed, 156 insertions(+), 128 deletions(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list