diff --git a/core/embed/firmware/main.c b/core/embed/firmware/main.c index 92f6792b38..33c01d2ff0 100644 --- a/core/embed/firmware/main.c +++ b/core/embed/firmware/main.c @@ -270,7 +270,8 @@ void SVC_C_Handler(uint32_t *stack) { clear_firmware_header = false; // break is omitted here because we want to continue to reboot below case SVC_REBOOT_TO_BOOTLOADER: - // if not going from copy image header & reboot, clean preventively this part of CCMRAM + // if not going from copy image header & reboot, clean preventively this + // part of CCMRAM if (clear_firmware_header) { explicit_bzero(&firmware_header_start, IMAGE_HEADER_SIZE); } diff --git a/core/embed/trezorhal/common.h b/core/embed/trezorhal/common.h index ea4fc29999..1781ed4c85 100644 --- a/core/embed/trezorhal/common.h +++ b/core/embed/trezorhal/common.h @@ -55,9 +55,8 @@ // from linker script extern uint8_t firmware_header_start; -extern uint8_t ccmram_start; -extern uint8_t ccmram_end; - +extern uint8_t ccmram_start; +extern uint8_t ccmram_end; void __attribute__((noreturn)) trezor_shutdown(void);