[PATCH v3 18/46] boot: pxe: Use bootm_...() functions where possible
Simon Glass
sjg at chromium.org
Fri Dec 20 05:06:13 CET 2024
Rather than building a command line for each operation, use the
functions provided by the bootm API.
Make sure that the bootm functions are available if pxe_utils is used.
Since SYS_BOOTM_LEN is not present for the tools-only build, adjust the
code to handle that.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
---
(no changes since v1)
boot/Makefile | 2 +-
boot/pxe_utils.c | 43 ++++++++++++++++++++-----------------------
2 files changed, 21 insertions(+), 24 deletions(-)
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list