118ebffe4SIulian Olaru /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 218ebffe4SIulian Olaru 318ebffe4SIulian Olaru #ifndef __IMX_COMMON_H__ 418ebffe4SIulian Olaru #define __IMX_COMMON_H__ 518ebffe4SIulian Olaru 6*8253aa47SDaniel Baluta #include <linux/clk.h> 7*8253aa47SDaniel Baluta 818ebffe4SIulian Olaru #define EXCEPT_MAX_HDR_SIZE 0x400 918ebffe4SIulian Olaru #define IMX8_STACK_DUMP_SIZE 32 1018ebffe4SIulian Olaru 1118ebffe4SIulian Olaru void imx8_get_registers(struct snd_sof_dev *sdev, 1218ebffe4SIulian Olaru struct sof_ipc_dsp_oops_xtensa *xoops, 1318ebffe4SIulian Olaru struct sof_ipc_panic_info *panic_info, 1418ebffe4SIulian Olaru u32 *stack, size_t stack_words); 1518ebffe4SIulian Olaru 1618ebffe4SIulian Olaru void imx8_dump(struct snd_sof_dev *sdev, u32 flags); 1718ebffe4SIulian Olaru 1818ebffe4SIulian Olaru #endif 19