cmd: button: add a new 'button' command
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 24 Jul 2020 16:19:47 +0000 (18:19 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commit325141a6eab0d21c928a4c36aa9b6873bb672dab
treec469de18160ecc03aac85d6a9ae624aa045312bc
parent486b973ee9b9bd89ff53bc9d3d1cff4ada73eb36
cmd: button: add a new 'button' command

Adds a command 'button' that provides the list of buttons
supported by the board, and the state of a button.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
cmd/Kconfig
cmd/Makefile
cmd/button.c [new file with mode: 0644]