mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
feat(core): jump to unprivileged mode after shutdown
This commit is contained in:
parent
40b4f679f9
commit
5984fd6ad7
@ -151,6 +151,9 @@ shutdown_privileged:
|
||||
// set to value in r2
|
||||
bl memset_reg
|
||||
bl clear_otg_hs_memory
|
||||
ldr r0, =1
|
||||
msr control, r0 // jump to unprivileged mode
|
||||
ldr r0, =0
|
||||
b . // loop forever
|
||||
|
||||
.end
|
||||
|
Loading…
Reference in New Issue
Block a user