summaryrefslogtreecommitdiff
path: root/src/stm/ao_boot.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-22 20:35:57 -0500
committerKeith Packard <keithp@keithp.com>2013-05-07 21:30:26 -0700
commitdfc268e0021e1cd3045f73339a749d292a6a6300 (patch)
tree3736895bb7debeff7a6363ce263b085d6ec4b531 /src/stm/ao_boot.h
parent8ded61d59888c79ef1f94e664b5fb770841a801a (diff)
altos: Use flash loader on all STM products
Includes the boot chain stuff Signed-off-by: Keith Packard <keithp@keithp.com>
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_ */