summaryrefslogtreecommitdiff
path: root/sound/soc/sof/mediatek/mtk-adsp-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sof/mediatek/mtk-adsp-common.h')
-rw-r--r--sound/soc/sof/mediatek/mtk-adsp-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/sof/mediatek/mtk-adsp-common.h b/sound/soc/sof/mediatek/mtk-adsp-common.h
new file mode 100644
index 000000000000..612cff1f38f7
--- /dev/null
+++ b/sound/soc/sof/mediatek/mtk-adsp-common.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
+
+#ifndef __MEDIATEK_ADSP_COMMON_H__
+#define __MEDIATEK_ADSP_COMMON_H__
+
+#define EXCEPT_MAX_HDR_SIZE 0x400
+#define MTK_ADSP_STACK_DUMP_SIZE 32
+
+void mtk_adsp_dump(struct snd_sof_dev *sdev, u32 flags);
+#endif