X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_boot_chain.c;h=d91afdabc7fcbfb949ac007d72d0b8e330339fdf;hb=b8a9273162b7016afc29f4c98fc3b66324d4c85b;hp=488af1e1b8dffc2261e303aa3b3981b3a69f29f7;hpb=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a;p=fw%2Faltos 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) {