
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