[U-Boot] [PATCH v3 0/6] cmd: remove NET and CMD_NET dependency for CMD_PXE
Patrice Chotard
patrice.chotard at st.com
Mon Nov 25 08:07:35 UTC 2019
It allows to use sysboot command on board which have no NET support.
Currently, sysboot command can't be used if CMD_NET and NET flags are
not set, while sysboot allows to load extlinux.conf file from local
filesystem, so it doesn't need to depend of CMD_NET and NET flags.
- Move from_env() from pxe.c to nvedit.c.
- As sysboot and pxe commands are sharing piece of code, put this common
code into a new file pxe_utils.c.
- Extract sysboot command's code outside pxe.c and create a new sysboot.c
file.
- Fix some checkpatch issues.
Patrice Chotard (6):
cmd: Migrate from_env() from pxe.c to nvedit.c
cmd: Prepare sysboot command independence
cmd: sysboot: Create a sysboot command dedicated file
cmd: pxe_utils: Fix checkpatch WARNING/CHECK
cmd: sysboot: Fix checkpatch WARNING/CHECK
cmd: pxe: Fix checkpatch WARNING/CHECK
Kconfig | 1 +
cmd/Kconfig | 6 +
cmd/Makefile | 3 +-
cmd/nvedit.c | 17 +
cmd/pxe.c | 1730 ++---------------------------------------------
cmd/pxe_utils.c | 1413 ++++++++++++++++++++++++++++++++++++++
cmd/pxe_utils.h | 90 +++
cmd/sysboot.c | 134 ++++
include/env.h | 10 +
9 files changed, 1726 insertions(+), 1678 deletions(-)
create mode 100644 cmd/pxe_utils.c
create mode 100644 cmd/pxe_utils.h
create mode 100644 cmd/sysboot.c
--
2.17.1
More information about the U-Boot
mailing list