altos: Use flash loader on all STM products
[fw/altos] / src / stm / ao_boot.h
index 863d8e05b2eb0fb25c6262d4e89031412c36dbed..862e8755b27abe1f95993c6e7daa171f2f5aed6c 100644 (file)
 #define _AO_BOOT_H_
 
 void
-ao_reboot_application(void);
+ao_boot_chain(uint32_t *base);
+
+void
+ao_boot_check_pin(void);
+
+void
+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_ */