ARM: SAMSUNG: Updates RTC register for support Alarm IRQ and Time Tick.
This patch updates RTC registers for support Alarm IRQ and Time Tick. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Taekgyun Ko <taeggyun.ko@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
e48add8c1c
commit
002d31e6b6
|
@ -14,6 +14,9 @@
|
||||||
#define __ASM_ARCH_REGS_RTC_H __FILE__
|
#define __ASM_ARCH_REGS_RTC_H __FILE__
|
||||||
|
|
||||||
#define S3C2410_RTCREG(x) (x)
|
#define S3C2410_RTCREG(x) (x)
|
||||||
|
#define S3C2410_INTP S3C2410_RTCREG(0x30)
|
||||||
|
#define S3C2410_INTP_ALM (1 << 1)
|
||||||
|
#define S3C2410_INTP_TIC (1 << 0)
|
||||||
|
|
||||||
#define S3C2410_RTCCON S3C2410_RTCREG(0x40)
|
#define S3C2410_RTCCON S3C2410_RTCREG(0x40)
|
||||||
#define S3C2410_RTCCON_RTCEN (1<<0)
|
#define S3C2410_RTCCON_RTCEN (1<<0)
|
||||||
|
|
Loading…
Reference in New Issue