diff --git a/core/embed/sys/syscall/stm32/syscall_dispatch.c b/core/embed/sys/syscall/stm32/syscall_dispatch.c index 58b9f62806..b8f9445055 100644 --- a/core/embed/sys/syscall/stm32/syscall_dispatch.c +++ b/core/embed/sys/syscall/stm32/syscall_dispatch.c @@ -141,10 +141,6 @@ __attribute((no_stack_protector)) void syscall_handler(uint32_t *args, args[1] = cycles >> 32; } break; - case SYSCALL_SECURE_SHUTDOWN: { - secure_shutdown(); - } break; - case SYSCALL_REBOOT_DEVICE: { reboot_device(); } break; diff --git a/core/embed/sys/syscall/stm32/syscall_numbers.h b/core/embed/sys/syscall/stm32/syscall_numbers.h index 3c283365b7..2edef3d3f3 100644 --- a/core/embed/sys/syscall/stm32/syscall_numbers.h +++ b/core/embed/sys/syscall/stm32/syscall_numbers.h @@ -32,7 +32,6 @@ typedef enum { SYSCALL_SYSTICK_US, SYSCALL_SYSTICK_US_TO_CYCLES, - SYSCALL_SECURE_SHUTDOWN, SYSCALL_REBOOT_DEVICE, SYSCALL_REBOOT_TO_BOOTLOADER, SYSCALL_REBOOT_AND_UPGRADE, diff --git a/core/embed/sys/syscall/stm32/syscall_stubs.c b/core/embed/sys/syscall/stm32/syscall_stubs.c index 4bfe2f1161..f7048cacf6 100644 --- a/core/embed/sys/syscall/stm32/syscall_stubs.c +++ b/core/embed/sys/syscall/stm32/syscall_stubs.c @@ -76,12 +76,6 @@ uint64_t systick_us_to_cycles(uint64_t us) { #include -void secure_shutdown(void) { - syscall_invoke0(SYSCALL_SECURE_SHUTDOWN); - while (1) - ; -} - void reboot_to_bootloader(void) { syscall_invoke0(SYSCALL_REBOOT_TO_BOOTLOADER); while (1)