summaryrefslogtreecommitdiffstats
path: root/include/soc/stm32/reboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/soc/stm32/reboot.h')
-rw-r--r--include/soc/stm32/reboot.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/soc/stm32/reboot.h b/include/soc/stm32/reboot.h
new file mode 100644
index 0000000000..d6c731f59f
--- /dev/null
+++ b/include/soc/stm32/reboot.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __SOC_STM32_REBOOT_H_
+#define __SOC_STM32_REBOOT_H_
+
+#include <linux/compiler.h>
+
+#ifdef CONFIG_RESET_STM32
+void stm32mp_system_restart_init(void __iomem *rcc);
+#else
+static inline void stm32mp_system_restart_init(void __iomem *rcc)
+{
+}
+#endif
+
+#endif