Merge branch 'net' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git] / include / wdt.h
index 9b90fbeeb3a304d44ce1149ffd7d1dc9899cc3c3..d2ccfbc62ef7cd14d5034120a7057a382c539862 100644 (file)
@@ -1,12 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright 2017 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _WDT_H_
 #define _WDT_H_
 
+#include <dm.h>
+#include <log.h>
+#include <dm/read.h>
+
 /*
  * Implement a simple watchdog uclass. Watchdog is basically a timer that
  * is used to detect or recover from malfunction. During normal operation
@@ -104,4 +107,6 @@ struct wdt_ops {
        int (*expire_now)(struct udevice *dev, ulong flags);
 };
 
+int initr_watchdog(void);
+
 #endif  /* _WDT_H_ */