X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm%2Fao_boot_chain.c;fp=src%2Fstm%2Fao_boot_chain.c;h=d91afdabc7fcbfb949ac007d72d0b8e330339fdf;hp=488af1e1b8dffc2261e303aa3b3981b3a69f29f7;hb=2108da105ed9c915fc09d1251dc655bf11203d79;hpb=74d5dfd1801da8efbb7693a607fd25e35ad1158d diff --git a/src/stm/ao_boot_chain.c b/src/stm/ao_boot_chain.c index 488af1e1..d91afdab 100644 --- a/src/stm/ao_boot_chain.c +++ b/src/stm/ao_boot_chain.c @@ -43,8 +43,8 @@ struct ao_boot { uint32_t check; }; -static struct ao_boot __attribute__ ((section(".boot"))) ao_boot; - +struct ao_boot ao_boot __attribute__((section(".preserve.2"))); + int ao_boot_check_chain(void) {