cmd: remove NET and CMD_NET dependency for CMD_PXE
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 0 repliesNew
- v2 posting 2/21 patch 0 repliesSuperseded
- v2 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 0 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | cmd: Migrate from_env() from pxe.c to nvedit.ccmd/ cmd/ include/ | +27 | 1 reply | |
| 2/6 | cmd: Prepare sysboot command independencecmd/ cmd/ cmd/ +1 more | +1507 | 1 reply | |
| 3/6 | cmd: sysboot: Create a sysboot command dedicated fileKconfig cmd/ cmd/ +2 more | +143 | 1 reply | |
| 4/6 | cmd: pxe_utils: Fix checkpatch WARNING/CHECKcmd/ | +46 | 1 reply | |
| 5/6 | cmd: sysboot: Fix checkpatch WARNING/CHECKcmd/ | +12 | 1 reply | |
| 6/6 | cmd: pxe: Fix checkpatch WARNING/CHECKcmd/ | +6 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [U-Boot] [PATCH v3 0/6] cmd: remove NET and CMD_NET dependency for CMD_PXE
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
Signature · 1 line
2.17.1