diff options
author | Robin Gong <b38343@freescale.com> | 2014-12-17 20:56:02 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2014-12-18 20:23:19 +0800 |
commit | 99b0b68a1ddf248e9766b194821da97045f04a4f (patch) | |
tree | 99498cc67d60ce553252fbd2587c5037b24a1cad /arch/arm/include | |
parent | bf7ffcfd6698144419be4f35bd1e567f6c4c71d2 (diff) | |
download | u-boot-imx-99b0b68a1ddf248e9766b194821da97045f04a4f.zip u-boot-imx-99b0b68a1ddf248e9766b194821da97045f04a4f.tar.gz u-boot-imx-99b0b68a1ddf248e9766b194821da97045f04a4f.tar.bz2 |
MLK-9891-1: ARM: imx6: split WDOG_B setting from set_anatop_bypass() function
We set WDOG_B in set_anatop_bypass() before, because it is the only case, but now
on i.mx6sabreauto board, we didn't use ldo-bypass mode, but have to use WDOG_B to
reboot whole board, so split these code to independent function so that board file
can call it freely.
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit 93d457e4c601ee5266bc30b7dfa5fa1bbfa8500a)
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/sys_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 5b42ce9..cc309cd 100644 --- a/arch/arm/include/asm/arch-mx6/sys_proto.h +++ b/arch/arm/include/asm/arch-mx6/sys_proto.h @@ -22,6 +22,7 @@ u32 get_cpu_rev(void); const char *get_imx_type(u32 imxtype); unsigned imx_ddr_size(void); +void set_wdog_reset(struct wdog_regs *wdog); #ifdef CONFIG_LDO_BYPASS_CHECK int check_ldo_bypass(void); |