diff options
Diffstat (limited to 'arch/blackfin/mach-bf518')
-rw-r--r-- | arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h index 48c702d2aee3..83e8c34547b3 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | |||
@@ -756,40 +756,6 @@ | |||
756 | #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */ | 756 | #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */ |
757 | 757 | ||
758 | 758 | ||
759 | /* ********* WATCHDOG TIMER MASKS ******************** */ | ||
760 | |||
761 | /* Watchdog Timer WDOG_CTL Register Masks */ | ||
762 | |||
763 | #define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */ | ||
764 | #define WDEV_RESET 0x0000 /* generate reset event on roll over */ | ||
765 | #define WDEV_NMI 0x0002 /* generate NMI event on roll over */ | ||
766 | #define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */ | ||
767 | #define WDEV_NONE 0x0006 /* no event on roll over */ | ||
768 | #define WDEN 0x0FF0 /* enable watchdog */ | ||
769 | #define WDDIS 0x0AD0 /* disable watchdog */ | ||
770 | #define WDRO 0x8000 /* watchdog rolled over latch */ | ||
771 | |||
772 | /* depreciated WDOG_CTL Register Masks for legacy code */ | ||
773 | |||
774 | |||
775 | #define ICTL WDEV | ||
776 | #define ENABLE_RESET WDEV_RESET | ||
777 | #define WDOG_RESET WDEV_RESET | ||
778 | #define ENABLE_NMI WDEV_NMI | ||
779 | #define WDOG_NMI WDEV_NMI | ||
780 | #define ENABLE_GPI WDEV_GPI | ||
781 | #define WDOG_GPI WDEV_GPI | ||
782 | #define DISABLE_EVT WDEV_NONE | ||
783 | #define WDOG_NONE WDEV_NONE | ||
784 | |||
785 | #define TMR_EN WDEN | ||
786 | #define TMR_DIS WDDIS | ||
787 | #define TRO WDRO | ||
788 | #define ICTL_P0 0x01 | ||
789 | #define ICTL_P1 0x02 | ||
790 | #define TRO_P 0x0F | ||
791 | |||
792 | |||
793 | /* ************** UART CONTROLLER MASKS *************************/ | 759 | /* ************** UART CONTROLLER MASKS *************************/ |
794 | /* UARTx_LCR Masks */ | 760 | /* UARTx_LCR Masks */ |
795 | #define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ | 761 | #define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ |