
13 Feb
2019
13 Feb
'19
10:37 a.m.
Hi Simon,
On Tue, Jan 22, 2019 at 9:14 AM Simon Glass sjg@chromium.org wrote:
At present the gpio command only shows GPIOs which are marked as in use. This makes sense with 'gpio status' since we already have the '-a' flag to indicate that all GPIOs should be shown. But when a particular GPIO is requested, it seems better to always display it. At present the request is simply ignored.
Add an extra parameter for this to avoid changing the existing flag parameter.
Could you provide an example here for better understanding?
Signed-off-by: Simon Glass sjg@chromium.org
cmd/gpio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Regards, Bin