summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-imx
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-05 22:30:50 +0000
committerwdenk <wdenk>2005-04-05 22:30:50 +0000
commitb304c96871c92d1ec8fa57dda36cc198660fd10e (patch)
treeb45ea6bbac8eee483d99eccbddda21af57f8e8be /include/asm-arm/arch-imx
parent12b43d515c62682fcf7b578f31920a2be49142fe (diff)
downloadbarebox-b304c96871c92d1ec8fa57dda36cc198660fd10e.tar.gz
barebox-b304c96871c92d1ec8fa57dda36cc198660fd10e.tar.xz
Patches by Steven Scholz, 05 Apr 2005:
- Use i.MX watchdog timer for reset_cpu() - Move reset_cpu() out of cpu/arm920t/start.S into the SoC specific subdirectories cpu/arm920t/imx/ and cpu/arm920t/s3c24x0/ (now in interupts.c)
Diffstat (limited to 'include/asm-arm/arch-imx')
-rw-r--r--include/asm-arm/arch-imx/imx-regs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-arm/arch-imx/imx-regs.h b/include/asm-arm/arch-imx/imx-regs.h
index 1486b74c2a..318de22a49 100644
--- a/include/asm-arm/arch-imx/imx-regs.h
+++ b/include/asm-arm/arch-imx/imx-regs.h
@@ -52,6 +52,12 @@
#define IMX_AITC_BASE (0x23000 + IMX_IO_BASE)
#define IMX_CSI_BASE (0x24000 + IMX_IO_BASE)
+/* Watchdog Registers*/
+
+#define WCR __REG(IMX_WDT_BASE + 0x00) /* Watchdog Control Register */
+#define WSR __REG(IMX_WDT_BASE + 0x04) /* Watchdog Service Register */
+#define WSTR __REG(IMX_WDT_BASE + 0x08) /* Watchdog Status Register */
+
/* SYSCTRL Registers */
#define SIDR __REG(IMX_SYSCTRL_BASE + 0x4) /* Silicon ID Register */
#define FMCR __REG(IMX_SYSCTRL_BASE + 0x8) /* Function Multiplex Control Register */