[PATCH v3 0/4] sf: Add documentation and an 'sf mmap' command

Simon Glass sjg at chromium.org
Sun Aug 1 23:12:41 CEST 2021


This little series adds documentation and a few other tidy-ups to the
'sf' command.

It also provides a way to access memory-mapped SPI via the command line.

Changes in v3:
- Add configuration and return value also

Changes in v2:
- Explain why 'usage' cannot be const
- Many fixes as suggested by Heinrich

Simon Glass (4):
  command: Use a constant pointer for the help
  sf: Tidy up code to avoid #ifdef
  sf: doc: Add documentation for the 'sf' command
  sf: Provide a command to access memory-mapped SPI

 arch/Kconfig        |   2 +
 cmd/Kconfig         |   8 ++
 cmd/sf.c            |  67 +++++++---
 doc/usage/index.rst |   1 +
 doc/usage/sf.rst    | 304 ++++++++++++++++++++++++++++++++++++++++++++
 include/command.h   |   2 +-
 6 files changed, 365 insertions(+), 19 deletions(-)
 create mode 100644 doc/usage/sf.rst

-- 
2.32.0.554.ge1b32706d8-goog



More information about the U-Boot mailing list