1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 22:08:08 +00:00

fix(core/embed): fix memory clearing in u5 boardloader

[no changelog]
This commit is contained in:
cepetr 2024-06-21 10:37:20 +02:00 committed by cepetr
parent 0ea965d07e
commit 076b476cf5

View File

@ -34,6 +34,7 @@ jump_to:
// "there is no requirement to insert memory barrier instructions after CPSID".
cpsid f
// wipe memory at the end of the current stage of code
ldr r2, =0 // r2 - the word-sized value to be written
ldr r0, =sram1_start // r0 - point to beginning of SRAM
ldr r1, =sram1_end // r1 - point to byte after the end of SRAM
bl memset_reg