Add SPM_PANIC macro for TARGET_TFM

pull/9638/head
itayzafrir 2019-02-20 15:38:40 +02:00
parent 99032f6967
commit 672712ca8a
1 changed files with 8 additions and 0 deletions

View File

@ -19,7 +19,15 @@
#include "psa_crypto_access_control.h"
#include "psa_crypto_slot_management.h"
#if defined(TARGET_TFM)
#define SPM_PANIC(format, ...) \
{ \
while(1){}; \
}
#else
#include "spm_panic.h"
#endif
typedef struct psa_crypto_access_control_s {
psa_key_handle_t key_handle;