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 place. i have generic GPIO implementations pending for: - command line 'gpio' to toggle/set/clear pins - soft i2c via gpio - i had a status led gpio, but i'll convert to your version - examples for doing parallel flash with GPIO-assisted address lines 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot