mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
fixup! fix(legacy): make RDI work on T1
This commit is contained in:
parent
daa94ac941
commit
24200e7424
@ -53,6 +53,8 @@
|
||||
extern void shutdown_privileged(void);
|
||||
|
||||
int main(void) {
|
||||
random_delays_init();
|
||||
|
||||
#ifdef RDI
|
||||
rdi_start();
|
||||
#endif
|
||||
|
@ -44,10 +44,6 @@ reset_handler:
|
||||
ldr r1, = __stack_chk_guard
|
||||
str r0, [r1]
|
||||
|
||||
#ifdef RDI
|
||||
bl random_delays_init
|
||||
#endif
|
||||
|
||||
// re-enable exceptions
|
||||
// according to "ARM Cortex-M Programming Guide to Memory Barrier Instructions" Application Note 321, section 4.7:
|
||||
// "If it is not necessary to ensure that a pended interrupt is recognized immediately before
|
||||
|
Loading…
Reference in New Issue
Block a user