Change-Id: Ie36d8625f933d6ba0caeeae678e29867d881144d
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1303580
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y
CONFIG_DYNAMIC_DEBUG=y
CONFIG_DEBUG_SPINLOCK_BITE_ON_BUG=y
+CONFIG_TRUSTONIC_TEE_DEBUG=y
wake_up_process(log_ctx.thread);
/* Debugfs switch */
+#ifdef CONFIG_TRUSTONIC_TEE_DEBUG
+ log_ctx.enabled = true;
+#else
log_ctx.enabled = false;
+#endif
debugfs_create_bool("swd_debug", 0600, g_ctx.debug_dir,
&log_ctx.enabled);
return 0;