xref: /linux/sound/soc/sof/imx/imx-common.h (revision 6c363eafc4d637ac4bd83d4a7dd06dd3cfbe7c5f)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 
3 #ifndef __IMX_COMMON_H__
4 #define __IMX_COMMON_H__
5 
6 #define EXCEPT_MAX_HDR_SIZE	0x400
7 #define IMX8_STACK_DUMP_SIZE 32
8 
9 void imx8_get_registers(struct snd_sof_dev *sdev,
10 			struct sof_ipc_dsp_oops_xtensa *xoops,
11 			struct sof_ipc_panic_info *panic_info,
12 			u32 *stack, size_t stack_words);
13 
14 void imx8_dump(struct snd_sof_dev *sdev, u32 flags);
15 
16 #endif
17