aboutsummaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-bf548
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-10-29 18:17:07 +0800
committerBryan Wu <bryan.wu@analog.com>2007-10-29 18:17:07 +0800
commit15b3ad6a4b348ea53ea1a45f9b166ac31c4b3f39 (patch)
tree85c43db1c5e611a98e55b113643d6f96a0d6f53e /include/asm-blackfin/mach-bf548
parentaa770aa790f3a5f3ff568388d02aea2ef78773ec (diff)
Blackfin arch: Add missing definitions of BF54x
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf548')
-rw-r--r--include/asm-blackfin/mach-bf548/defBF54x_base.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-bf548/defBF54x_base.h b/include/asm-blackfin/mach-bf548/defBF54x_base.h
index 1d365c844ff..da979cb62f7 100644
--- a/include/asm-blackfin/mach-bf548/defBF54x_base.h
+++ b/include/asm-blackfin/mach-bf548/defBF54x_base.h
@@ -2252,6 +2252,13 @@
#define PLL_OFF 0x2 /* Disable PLL */
#define DF 0x1 /* Divide Frequency */
+/* SWRST Masks */
+#define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */
+#define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */
+#define RESET_DOUBLE 0x2000 /* SW Reset Generated By Core Double-Fault */
+#define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */
+#define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */
+
/* Bit masks for PLL_STAT */
#define PLL_LOCKED 0x20 /* PLL Locked Status */