The following series moves firmware update to dimm.c in order to take
advantage of the command line parsing that already exists and remove
duplications.
v4:
- Fixed man page for firmware update.
- Added check for all Intel DSMs for update firmware supported check.
v3:
- Modified error printout for op not supported per Dan's comment.
v2:
- Add distinct return errors for lack of support in ndctl, kernel, or
platform.
- Moved the firmware update defines and structs to its own header.
---
Dave Jiang (2):
ndctl: add check for update firmware supported
ndctl: merge firmware-update to dimm.c as one of the dimm ops
ndctl/Makefile.am | 1
ndctl/dimm.c | 475 +++++++++++++++++++++++++++++++++++++++++
ndctl/firmware-update.h | 45 ++++
ndctl/lib/firmware.c | 11 +
ndctl/lib/intel.c | 32 +++
ndctl/lib/libndctl.sym | 1
ndctl/lib/private.h | 1
ndctl/libndctl.h | 1
ndctl/update.c | 545 -----------------------------------------------
9 files changed, 564 insertions(+), 548 deletions(-)
create mode 100644 ndctl/firmware-update.h
delete mode 100644 ndctl/update.c
--
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm