[U-Boot] [PATCH 5/8] ZOOM2 Add led support.

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Apr 2 15:26:32 CEST 2009


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.


More information about the U-Boot mailing list