18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci#ifndef __IMX_COMMON_H__ 48c2ecf20Sopenharmony_ci#define __IMX_COMMON_H__ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#define EXCEPT_MAX_HDR_SIZE 0x400 78c2ecf20Sopenharmony_ci#define IMX8_STACK_DUMP_SIZE 32 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_civoid imx8_get_registers(struct snd_sof_dev *sdev, 108c2ecf20Sopenharmony_ci struct sof_ipc_dsp_oops_xtensa *xoops, 118c2ecf20Sopenharmony_ci struct sof_ipc_panic_info *panic_info, 128c2ecf20Sopenharmony_ci u32 *stack, size_t stack_words); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_civoid imx8_dump(struct snd_sof_dev *sdev, u32 flags); 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif 17