]> git.sur5r.net Git - u-boot/commit
gpio: Warn about invalid GPIOs used with the 'gpio' command
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:50 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:36 +0000 (20:42 -0700)
commit66280e82f7fe90194236da39ab0e2f42869a8070
tree252bf0e956a483d99da8bcc5a1b489004cfba306
parent35a1f0dfa13510b29f9d320a999819eb2d9cb857
gpio: Warn about invalid GPIOs used with the 'gpio' command

At present there is no indication that an invalid GPIO is used except that
the GPIO status is not displayed. Make the error more explicit to avoid
confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_gpio.c