summaryrefslogtreecommitdiff
path: root/src/include/reset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/reset.h')
-rw-r--r--src/include/reset.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/reset.h b/src/include/reset.h
new file mode 100644
index 0000000000..fd78189b17
--- /dev/null
+++ b/src/include/reset.h
@@ -0,0 +1,11 @@
+#ifndef RESET_H
+#define RESET_H
+
+#if CONFIG_HAVE_HARD_RESET == 1
+void hard_reset(void);
+#else
+#define hard_reset() do {} while(0)
+#endif
+void soft_reset(void);
+
+#endif