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 <[email protected]> Reviewed-by: Quentin Schulz <[email protected]> --- (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!

