[U-Boot] [PATCH 08/33] gpio: Show inactive GPIOs when explicitly requested
Bin Meng
bmeng.cn at gmail.com
Wed Feb 13 09:37:26 UTC 2019
Hi Simon,
On Tue, Jan 22, 2019 at 9:14 AM Simon Glass <sjg at 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 at chromium.org>
> ---
>
> cmd/gpio.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Regards,
Bin
More information about the U-Boot
mailing list