]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commita1f2e50480000f442c0010f08bf5bf4b85423eb9
treec469de18160ecc03aac85d6a9ae624aa045312bc
parent2409333646bd9acb3aa6010dc293f4e11848db81
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]