1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

fix(legacy): change STAY_IN_BOOTLOADER_FLAG to 0x0FC35A96

to have hamming distance greater than 2 from zero
This commit is contained in:
Pavol Rusnak 2021-03-03 16:18:31 +01:00
parent 4b0f41d41e
commit 10cb634a45
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -32,7 +32,7 @@
#define SVC_REBOOT_TO_BOOTLOADER 5
#define STAY_IN_BOOTLOADER_FLAG_ADDR ((uint32_t *)0x20010000)
#define STAY_IN_BOOTLOADER_FLAG 0x11
#define STAY_IN_BOOTLOADER_FLAG 0x0FC35A96
/* Unlocks flash. This function needs to be called before programming
* or erasing. Multiple calls of flash_program and flash_erase can