Skip to content
  • Mike Frysinger's avatar
    gpio: generalize for all generic gpio providers · a972b8d7
    Mike Frysinger authored
    
    
    The Blackfin gpio command isn't terribly Blackfin-specific.  So generalize
    the few pieces into two new optional helpers:
    	name_to_gpio() - turn a string name into a GPIO #
    	gpio_status() - display current pin bindings (think /proc/gpio)
    
    Once these pieces are pulled out, we can relocate the cmd_gpio.c into the
    common directory.
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    a972b8d7