diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2012-10-22 15:19:01 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-01-13 11:39:57 +0100 |
commit | abbab70363dcdb270cbf24d47849214dd3a3e010 (patch) | |
tree | 2eb6f30be46ddc350e5635179dabdd126be2b0cd /arch/arm/include/asm/arch-mx31 | |
parent | 17c5ef20073c49ae1a10150b4194b25b6f1154fe (diff) | |
download | u-boot-imx-abbab70363dcdb270cbf24d47849214dd3a3e010.zip u-boot-imx-abbab70363dcdb270cbf24d47849214dd3a3e010.tar.gz u-boot-imx-abbab70363dcdb270cbf24d47849214dd3a3e010.tar.bz2 |
mx31/mx35/mx51/mx53/mx6: add watchdog
Use a common watchdog driver for all these cpus.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx31')
-rw-r--r-- | arch/arm/include/asm/arch-mx31/clock.h | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-mx31/imx-regs.h | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/include/asm/arch-mx31/clock.h b/arch/arm/include/asm/arch-mx31/clock.h index 1dbb8da..25c3f70 100644 --- a/arch/arm/include/asm/arch-mx31/clock.h +++ b/arch/arm/include/asm/arch-mx31/clock.h @@ -58,7 +58,5 @@ extern void mx31_set_gpr(enum iomux_gp_func gp, char en); void mx31_uart1_hw_init(void); void mx31_uart2_hw_init(void); void mx31_spi2_hw_init(void); -void mxc_hw_watchdog_enable(void); -void mxc_hw_watchdog_reset(void); #endif /* __ASM_ARCH_CLOCK_H */ diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h b/arch/arm/include/asm/arch-mx31/imx-regs.h index ae3658b..3f58318 100644 --- a/arch/arm/include/asm/arch-mx31/imx-regs.h +++ b/arch/arm/include/asm/arch-mx31/imx-regs.h @@ -68,17 +68,6 @@ struct cspi_regs { u32 test; }; -/* Watchdog Timer (WDOG) registers */ -#define WDOG_ENABLE (1 << 2) -#define WDOG_WT_SHIFT 8 -#define WDOG_WDZST (1 << 0) - -struct wdog_regs { - u16 wcr; /* Control */ - u16 wsr; /* Service */ - u16 wrsr; /* Reset Status */ -}; - /* IIM Control Registers */ struct iim_regs { u32 iim_stat; @@ -687,7 +676,7 @@ struct esdc_regs { #define ARM_PPMRR 0x40000015 -#define WDOG_BASE 0x53FDC000 +#define WDOG1_BASE_ADDR 0x53FDC000 /* * GPIO |