[U-Boot] [PATCH] nios2: add gpio_free

Mike Frysinger vapier at gentoo.org
Mon Jan 10 22:30:53 CET 2011


On Mon, Jan 10, 2011 at 4:27 PM, Wolfgang Denk wrote:
> Thomas Chou wrote:
>> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
>> ---
>>  arch/nios2/include/asm/gpio.h     |    6 ++++++
>>  board/altera/nios2-generic/gpio.c |    5 +++++
>>  2 files changed, 11 insertions(+), 0 deletions(-)
>
> What is this needed for?  I don;t see any callers, and the code
> doesn't do anything useful?

it's part of the standard GPIO API, his new OpenCores tiny_spi driver
is using it, and cmd_gpio.c uses it (which is planning on moving to
common code once i remove the tiny Blackfin-specific piece).
-mike


More information about the U-Boot mailing list