[PATCH v4 0/5] sf: Add documentation and an 'sf mmap' command
Simon Glass
sjg at chromium.org
Sun Sep 19 23:49:31 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 v4:
- Split out the 'const' change into a separate patch
- Show the 'sf probe' output in the examples
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 (5):
command: Use a constant pointer for the help
sf: Use const for the stage name
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 | 308 ++++++++++++++++++++++++++++++++++++++++++++
include/command.h | 2 +-
6 files changed, 369 insertions(+), 19 deletions(-)
create mode 100644 doc/usage/sf.rst
--
2.33.0.464.g1972c5931b-goog
More information about the U-Boot
mailing list