summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-vf610/imx-regs.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-11-27 23:58:20 +0100
committerStefano Babic <sbabic@denx.de>2014-12-01 10:20:22 +0100
commit9e89a64fbd0ddfde17741b38cc95fbdc02679d86 (patch)
tree81fc8ca2bf0c887d9136bcbc2940a13699128298 /arch/arm/include/asm/arch-vf610/imx-regs.h
parent16159be761c2f8f2a3c33e307e5fc9865191e3da (diff)
arm: vf610: improve evaluation of reset source
Improve the evaluation of the reset source. Bit description according to latest reference manual rev. 7. Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'arch/arm/include/asm/arch-vf610/imx-regs.h')
-rw-r--r--arch/arm/include/asm/arch-vf610/imx-regs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-vf610/imx-regs.h b/arch/arm/include/asm/arch-vf610/imx-regs.h
index 9d797dbe1f..6b10bdf961 100644
--- a/arch/arm/include/asm/arch-vf610/imx-regs.h
+++ b/arch/arm/include/asm/arch-vf610/imx-regs.h
@@ -256,6 +256,14 @@
#define DDRMC_CR161_TODTH_RD(v) (((v) & 0xf) << 8)
#define DDRMC_CR161_TODTH_WR(v) ((v) & 0xf)
+/* System Reset Controller (SRC) */
+#define SRC_SRSR_SW_RST (0x1 << 18)
+#define SRC_SRSR_RESETB (0x1 << 7)
+#define SRC_SRSR_JTAG_RST (0x1 << 5)
+#define SRC_SRSR_WDOG_M4 (0x1 << 4)
+#define SRC_SRSR_WDOG_A5 (0x1 << 3)
+#define SRC_SRSR_POR_RST (0x1 << 0)
+
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>