X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_boot_chain.c;fp=src%2Fstmf0%2Fao_boot_chain.c;h=d91afdabc7fcbfb949ac007d72d0b8e330339fdf;hp=8f850a0a6d98d7ee1b0484f746dd8f6453e19d43;hb=2108da105ed9c915fc09d1251dc655bf11203d79;hpb=74d5dfd1801da8efbb7693a607fd25e35ad1158d diff --git a/src/stmf0/ao_boot_chain.c b/src/stmf0/ao_boot_chain.c index 8f850a0a..d91afdab 100644 --- a/src/stmf0/ao_boot_chain.c +++ b/src/stmf0/ao_boot_chain.c @@ -43,7 +43,7 @@ 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)