mbox series

[v4,0/5] sf: Add documentation and an 'sf mmap' command

Message ID 20210919214937.3829422-1-sjg@chromium.org
Headers show
Series sf: Add documentation and an 'sf mmap' command | expand

Message

Simon Glass Sept. 19, 2021, 9:49 p.m. UTC
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

Comments

Simon Glass Nov. 13, 2021, 3:17 a.m. UTC | #1
Hi Jagan,

On Sun, 19 Sept 2021 at 15:49, Simon Glass <sjg@chromium.org> wrote:
>
> 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

Any word on this series please?

Regards,
Simon