aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf518
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-14 23:10:38 -0400
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:14:33 -0500
commit1915b6c0aedbba3bc5042e2b9bdbf7734579352d (patch)
treef0764ef6e50d9ab02b3cc198c9b2adab30194bd5 /arch/blackfin/mach-bf518
parent60883e28b3dc6a85fca6f45f2306599523657a49 (diff)
Blackfin: scrub unused RTC masks
The RTC driver code doesn't need these, and the other parts had these punted, so keep the global namespace clean. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf518')
-rw-r--r--arch/blackfin/mach-bf518/include/mach/defBF51x_base.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h
index f9fd2b2a2956..48c702d2aee3 100644
--- a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h
+++ b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h
@@ -790,32 +790,6 @@
790#define TRO_P 0x0F 790#define TRO_P 0x0F
791 791
792 792
793
794/* *************** REAL TIME CLOCK MASKS **************************/
795/* RTC_STAT and RTC_ALARM Masks */
796#define RTC_SEC 0x0000003F /* Real-Time Clock Seconds */
797#define RTC_MIN 0x00000FC0 /* Real-Time Clock Minutes */
798#define RTC_HR 0x0001F000 /* Real-Time Clock Hours */
799#define RTC_DAY 0xFFFE0000 /* Real-Time Clock Days */
800
801/* RTC_ALARM Macro z=day y=hr x=min w=sec */
802#define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F))
803
804/* RTC_ICTL and RTC_ISTAT Masks */
805#define STOPWATCH 0x0001 /* Stopwatch Interrupt Enable */
806#define ALARM 0x0002 /* Alarm Interrupt Enable */
807#define SECOND 0x0004 /* Seconds (1 Hz) Interrupt Enable */
808#define MINUTE 0x0008 /* Minutes Interrupt Enable */
809#define HOUR 0x0010 /* Hours Interrupt Enable */
810#define DAY 0x0020 /* 24 Hours (Days) Interrupt Enable */
811#define DAY_ALARM 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */
812#define WRITE_PENDING 0x4000 /* Write Pending Status */
813#define WRITE_COMPLETE 0x8000 /* Write Complete Interrupt Enable */
814
815/* RTC_FAST / RTC_PREN Mask */
816#define PREN 0x0001 /* Enable Prescaler, RTC Runs @1 Hz */
817
818
819/* ************** UART CONTROLLER MASKS *************************/ 793/* ************** UART CONTROLLER MASKS *************************/
820/* UARTx_LCR Masks */ 794/* UARTx_LCR Masks */
821#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ 795#define WLS(x) (((x)-5) & 0x03) /* Word Length Select */