mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-18 11:21:11 +00:00
boardloader/bootloader: typo
This commit is contained in:
parent
4584861385
commit
11a3ff055c
@ -180,7 +180,7 @@ int main(void)
|
|||||||
load_image_header((const uint8_t *)BOOTLOADER_START, BOOTLOADER_IMAGE_MAGIC, BOOTLOADER_IMAGE_MAXSIZE, BOARDLOADER_KEY_M, BOARDLOADER_KEY_N, BOARDLOADER_KEYS, &hdr),
|
load_image_header((const uint8_t *)BOOTLOADER_START, BOOTLOADER_IMAGE_MAGIC, BOOTLOADER_IMAGE_MAXSIZE, BOARDLOADER_KEY_M, BOARDLOADER_KEY_N, BOARDLOADER_KEYS, &hdr),
|
||||||
"invalid bootloader header");
|
"invalid bootloader header");
|
||||||
|
|
||||||
uint8_t sectors[] = {
|
const uint8_t sectors[] = {
|
||||||
FLASH_SECTOR_BOOTLOADER,
|
FLASH_SECTOR_BOOTLOADER,
|
||||||
};
|
};
|
||||||
ensure(
|
ensure(
|
||||||
|
@ -337,7 +337,7 @@ int main(void)
|
|||||||
load_image_header((const uint8_t *)(FIRMWARE_START + vhdr.hdrlen), FIRMWARE_IMAGE_MAGIC, FIRMWARE_IMAGE_MAXSIZE, vhdr.vsig_m, vhdr.vsig_n, vhdr.vpub, &hdr),
|
load_image_header((const uint8_t *)(FIRMWARE_START + vhdr.hdrlen), FIRMWARE_IMAGE_MAGIC, FIRMWARE_IMAGE_MAXSIZE, vhdr.vsig_m, vhdr.vsig_n, vhdr.vpub, &hdr),
|
||||||
"invalid firmware header");
|
"invalid firmware header");
|
||||||
|
|
||||||
uint8_t sectors[] = {
|
const uint8_t sectors[] = {
|
||||||
FLASH_SECTOR_FIRMWARE_START,
|
FLASH_SECTOR_FIRMWARE_START,
|
||||||
7,
|
7,
|
||||||
8,
|
8,
|
||||||
|
Loading…
Reference in New Issue
Block a user