summaryrefslogtreecommitdiff
path: root/src/stm/ao_boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/ao_boot.h')
-rw-r--r--src/stm/ao_boot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stm/ao_boot.h b/src/stm/ao_boot.h
index 3e8c50ba..862e8755 100644
--- a/src/stm/ao_boot.h
+++ b/src/stm/ao_boot.h
@@ -30,4 +30,9 @@ ao_boot_check_chain(void);
void
ao_boot_reboot(uint32_t *base);
+static inline void
+ao_boot_loader(void) {
+ ao_boot_reboot(AO_BOOT_LOADER_BASE);
+}
+
#endif /* _AO_BOOT_H_ */