1
0
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:
tychovrahe 2025-07-15 17:43:54 +02:00 committed by TychoVrahe
parent f318a5132f
commit 1c2ecfa7e8

View File

@ -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