Merge git://git.denx.de/u-boot-sunxi
[platform/kernel/u-boot.git] / include / fsl_wdog.h
index d15a70c..655f22e 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2015 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 struct watchdog_regs {
@@ -15,4 +14,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)