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

Mike Frysinger
2011-01-10T21:30:53Z

On Mon, Jan 10, 2011 at 4:27 PM, Wolfgang Denk wrote:
> Thomas Chou wrote:
>> Signed-off-by: Thomas Chou <thomas@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