mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-02 11:58:32 +00:00
fix(core/boardloader): preserve boot command when resetting in boardloader
[no changelog]
This commit is contained in:
parent
f318a5132f
commit
1c2ecfa7e8
@ -589,12 +589,6 @@ void secret_prepare_fw(secbool allow_run_with_secret,
|
|||||||
secret_disable_access();
|
secret_disable_access();
|
||||||
}
|
}
|
||||||
|
|
||||||
void secret_init(void) {
|
void secret_init(void) { secret_ensure_initialized(); }
|
||||||
if (secret_bhk_locked() == sectrue) {
|
|
||||||
reboot_device();
|
|
||||||
}
|
|
||||||
|
|
||||||
secret_ensure_initialized();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // SECURE_MODE
|
#endif // SECURE_MODE
|
||||||
|
Loading…
Reference in New Issue
Block a user