diff --git a/src/libwolfboot.c b/src/libwolfboot.c index 22e775aa..8b30fc5d 100644 --- a/src/libwolfboot.c +++ b/src/libwolfboot.c @@ -177,7 +177,7 @@ static const uint32_t wolfboot_magic_trail = WOLFBOOT_MAGIC_TRAIL; #include #include -static uint8_t NVM_CACHE[NVM_CACHE_SIZE] XALIGNED(16) +static uint8_t NVM_CACHE[NVM_CACHE_SIZE] XALIGNED(16); static int nvm_cached_sector = 0; static uint8_t get_base_offset(uint8_t *base, uintptr_t off) { diff --git a/src/update_disk.c b/src/update_disk.c index 0a5c82c9..a90cf482 100644 --- a/src/update_disk.c +++ b/src/update_disk.c @@ -79,7 +79,7 @@ extern uint8_t _end_wb[]; */ void RAMFUNCTION wolfBoot_start(void) { - uint8_t p_hdr[IMAGE_HEADER_SIZE] XALIGN_STACK(16); + uint8_t p_hdr[IMAGE_HEADER_SIZE] XALIGNED_STACK(16); struct stage2_parameter *stage2_params; struct wolfBoot_image os_image; int pA_ver = 0, pB_ver = 0;