
2 Apr
2009
2 Apr
'09
3:26 p.m.
On 08:38 Thu 02 Apr , Tom wrote:
Jean-Christophe PLAGNIOL-VILLARD wrote:
why not using the arm led API??
OK. I will fix.
+{
- gpio_t *gpio6_base = (gpio_t *) OMAP34XX_GPIO6_BASE;
- sr32 (&gpio6_base->cleardataout, 13, 1, 1); /* red off */
we clearly need now a GPIO API it's start to be mandatory
Like what is in the kernel or something similar?
as you wish but share the same API for the omap3 on u-boot and the kernel will be nice.
We do it for example on at91 or avr32
Best Regards, J.