[PATCH 3/7] cmd: button: add a new 'button' command

Simon Glass sjg at chromium.org
Wed Jul 15 03:05:41 CEST 2020


On Mon, 13 Jul 2020 at 06:56, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> Adds a command 'button' that provides the list of buttons
> supported by the board, and the state of a button.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  cmd/Kconfig  | 11 ++++++++
>  cmd/Makefile |  1 +
>  cmd/button.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 98 insertions(+)
>  create mode 100644 cmd/button.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list