mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-01 03:18:12 +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();
|
||||
}
|
||||
|
||||
void secret_init(void) {
|
||||
if (secret_bhk_locked() == sectrue) {
|
||||
reboot_device();
|
||||
}
|
||||
|
||||
secret_ensure_initialized();
|
||||
}
|
||||
void secret_init(void) { secret_ensure_initialized(); }
|
||||
|
||||
#endif // SECURE_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user