[PATCH v3 37/46] bootmeth: Refactor to put options in a common file
Simon Glass
sjg at chromium.org
Fri Dec 20 05:05:16 CET 2024
The fallback feature is implemented for extlinux but not for PXE. Move
the code into common files so we can keep both pieces in sync.
Tidy up the comment for set_property() while we are here, fixing the
return value and some missing hyphens.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
boot/Makefile | 4 +--
boot/bootmeth_extlinux.c | 74 --------------------------------------
boot/ext_pxe_common.c | 76 ++++++++++++++++++++++++++++++++++++++++
include/bootmeth.h | 8 ++---
include/extlinux.h | 29 +++++++++++++++
5 files changed, 111 insertions(+), 80 deletions(-)
create mode 100644 boot/ext_pxe_common.c
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list