mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-09 23:34:42 +08:00
698c1e99a0
1.Add mtk-adsp-common.c file for mediatek platforms common usage. 2.Add mtk_adsp_dump implementation in mtk-adsp-common.c for general debug dump. Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: YC Hung <yc.hung@mediatek.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220517173109.468568-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
11 lines
269 B
C
11 lines
269 B
C
/* 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
|