Re: [U-Boot] nand_plat extensions with GPIO framework

2010-06-09 Thread Thomas Chou
Mike Frysinger wrote: i'll try and generalize them a bit more and send thing out. not sure if you'll find any of these useful though. -mike Hi Mike, I believe it will be very useful. We are using gpio for led, key switch, i2c, nand flash status and other bit-oriented i/o. Cheers, Thomas

[U-Boot] nand_plat extensions with GPIO framework

2010-06-08 Thread Mike Frysinger
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

Re: [U-Boot] nand_plat extensions with GPIO framework

2010-06-08 Thread Thomas Chou
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

Re: [U-Boot] nand_plat extensions with GPIO framework

2010-06-08 Thread Mike Frysinger
On Tuesday, June 08, 2010 20:58:50 Thomas Chou wrote: 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. i couldnt seem to find anyone else who had imported asm/gpio.h yet, but i guess was looking in the wrong