[PATCH v3 40/46] bootmeth_extlinux: Move boot code into common file
Simon Glass
sjg at chromium.org
Fri Dec 20 05:05:08 CET 2024
The extlinux and PXE code for booting is almost the same. Move it into
the common file so it is easier to keep it in sync.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- Pass through the bootfile since extlinux and PXE are different
boot/bootmeth_extlinux.c | 24 +++---------------------
boot/bootmeth_pxe.c | 20 ++------------------
boot/ext_pxe_common.c | 25 +++++++++++++++++++++++++
include/extlinux.h | 15 +++++++++++++++
4 files changed, 45 insertions(+), 39 deletions(-)
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list