diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:35:57 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-22 20:54:45 -0500 |
commit | d12202d39d1e8d1a35be0028ad0dfe5e2f7d678b (patch) | |
tree | 490e654f36ef17b8660036f6f84d2c9f1153e14a /src/stm/ao_boot.h | |
parent | ddd53dc3635154dc7ea2af1cd1941e7070b9635f (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.h | 5 |
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_ */ |