mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-07 13:12:41 +00:00
chore(core): remove unused secure_shutdown syscall
[no changelog]
This commit is contained in:
parent
a7d7907efd
commit
d8e7dc8cd9
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -76,12 +76,6 @@ uint64_t systick_us_to_cycles(uint64_t us) {
|
||||
|
||||
#include <sys/bootutils.h>
|
||||
|
||||
void secure_shutdown(void) {
|
||||
syscall_invoke0(SYSCALL_SECURE_SHUTDOWN);
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
|
||||
void reboot_to_bootloader(void) {
|
||||
syscall_invoke0(SYSCALL_REBOOT_TO_BOOTLOADER);
|
||||
while (1)
|
||||
|
Loading…
Reference in New Issue
Block a user