diff --git a/core/embed/sec/secret/unix/secret.c b/core/embed/sec/secret/unix/secret.c deleted file mode 120000 index 91e08f2ec9..0000000000 --- a/core/embed/sec/secret/unix/secret.c +++ /dev/null @@ -1 +0,0 @@ -../stm32f4/secret.c \ No newline at end of file diff --git a/core/embed/sec/secret/unix/secret.c b/core/embed/sec/secret/unix/secret.c new file mode 100644 index 0000000000..64ee3e13d1 --- /dev/null +++ b/core/embed/sec/secret/unix/secret.c @@ -0,0 +1,15 @@ +#include + +#ifdef KERNEL_MODE + +void secret_write_header(void) {} + +secbool secret_optiga_present(void) { return secfalse; } + +void secret_optiga_erase(void) {} + +secbool secret_bootloader_locked(void) { return sectrue; } + +void secret_prepare_fw(secbool allow_run_with_secret, secbool _trust_all) {} + +#endif // KERNEL_MODE