From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 14 Jul 2020 19:05:41 -0600 Subject: [PATCH 3/7] cmd: button: add a new 'button' command In-Reply-To: <1594644972-2588-3-git-send-email-philippe.reynes@softathome.com> References: <1594644972-2588-1-git-send-email-philippe.reynes@softathome.com> <1594644972-2588-3-git-send-email-philippe.reynes@softathome.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 13 Jul 2020 at 06:56, Philippe Reynes 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 > --- > 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