mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 20:08:12 +00:00
fix(core): fix OTP write access
This commit is contained in:
parent
dbe7a393a8
commit
33fc7fb2e6
1
core/embed/prodtest/.changelog.d/4313.fixed
Normal file
1
core/embed/prodtest/.changelog.d/4313.fixed
Normal file
@ -0,0 +1 @@
|
||||
Fixed writing data (variant, batch) to OTP
|
@ -366,7 +366,7 @@ mpu_mode_t mpu_reconfig(mpu_mode_t mode) {
|
||||
break;
|
||||
#endif
|
||||
case MPU_MODE_OTP:
|
||||
SET_REGION( 6, FLASH_OTP_BASE, OTP_AND_ID_SIZE, FLASH_DATA, NO, NO );
|
||||
SET_REGION( 6, FLASH_OTP_BASE, OTP_AND_ID_SIZE, FLASH_DATA, YES, NO );
|
||||
break;
|
||||
case MPU_MODE_SECRET:
|
||||
SET_REGION( 6, SECRET_START, SECRET_MAXSIZE, FLASH_DATA, YES, NO );
|
||||
|
Loading…
Reference in New Issue
Block a user