[U-Boot] [PATCH][v0]p1_p2_rdb: to set SQW/INT pin of RTC as INT line

Kumar Gala galak at kernel.crashing.org
Fri Nov 12 16:46:34 CET 2010


On Nov 11, 2010, at 6:20 AM, Kumar Gala wrote:

> 
> On Oct 25, 2010, at 4:22 AM, Priyanka Jain wrote:
> 
>> p1_p2_rdb : SQW/INT pin in RTC can be used for 
>> generating square wave(by default) or as interrupt line.
>> U-boot is registering this pin for interrupts. 
>> Configuring SQW/INT bit as interrupt line during board initialization 
>> to avoid spurious interrupts generated by square wave.
>> 
>> Signed-off-by: Priyanka Jain <Priyanka.Jain at freescale.com>
>> ---
>> board/freescale/p1_p2_rdb/p1_p2_rdb.c |    1 +
>> include/configs/P1_P2_RDB.h           |    1 +
>> 2 files changed, 2 insertions(+), 0 deletions(-)
> 
> applied to 85xx

Added #include <rtc.h> that was missing and thus we got compiler warnings.

- k



More information about the U-Boot mailing list