X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_boot.h;fp=src%2Fstm%2Fao_boot.h;h=862e8755b27abe1f95993c6e7daa171f2f5aed6c;hb=dfc268e0021e1cd3045f73339a749d292a6a6300;hp=3e8c50bae89e15bd549baba91978b4012a225a86;hpb=8ded61d59888c79ef1f94e664b5fb770841a801a;p=fw%2Faltos 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_ */