mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
imx_watchdog: Do not assert WDOG_B on watchdog init
Currently the driver asserts WDOG_B by clearing WCR_WDA bit when enabling the watchdog. Do not clear WCR_WDA. Signed-off-by: Ross Parker <rossjparker@gmail.com> Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
514a0f4b68
commit
9eeab57211
2 changed files with 2 additions and 1 deletions
|
@ -15,5 +15,6 @@ struct watchdog_regs {
|
|||
#define WCR_WDE 0x04
|
||||
#define WCR_WDT 0x08
|
||||
#define WCR_SRS 0x10
|
||||
#define WCR_WDA 0x20
|
||||
#define SET_WCR_WT(x) (x << 8)
|
||||
#define WCR_WT_MSK SET_WCR_WT(0xFF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue