Mike Frysinger wrote:
> i'm in the process of merging the GPIO layer from Linux into the Blackfin 
> port 
> (well, it's already done, so now i'm just converting drivers over to it).  as 
> i'm sure you're aware, the GPIO framework in Linux provides a common API 
> across all ports, so anyone who supports asm/gpio.h is going to work.  
> no-arch 
> specific junk here.
> 
> some Blackfin boards use GPIOs with the nand_plat driver for the dev_ready 
> pin.  so while i can easily convert the board config header to call these 
> gpio 
> funcs, the issue is that i cant really pull in headers like asm/gpio.h in the 
> board config since all files will then pull it in.
> 

Hi Mike,

Thanks. This is what I have been looking for. Nios2 has asm/gpio.h 
already, then I added gpio_request() and tested on my boards.

Tested-by: Thomas Chou <tho...@wytron.com.tw>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to