2024-04-28 06:49:01 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 MediaTek Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SCP_H
|
|
|
|
#define __SCP_H
|
|
|
|
|
|
|
|
#if IS_ENABLED(CONFIG_MTK_TINYSYS_SCP_CM4_SUPPORT)
|
|
|
|
#include "scp_cm4.h"
|
|
|
|
#elif IS_ENABLED(CONFIG_MTK_TINYSYS_SCP_RV_SUPPORT)
|
|
|
|
#include "scp_rv.h"
|
|
|
|
#endif
|
|
|
|
|
2024-04-28 06:51:13 -07:00
|
|
|
struct shub_dump {
|
|
|
|
int reason;
|
|
|
|
int size;
|
|
|
|
char *dump;
|
|
|
|
char *mini_dump;
|
|
|
|
};
|
|
|
|
extern int shub_dump_notifier_register(struct notifier_block *nb);
|
|
|
|
|
2024-04-28 06:49:01 -07:00
|
|
|
#endif
|
|
|
|
|
2024-04-28 06:51:13 -07:00
|
|
|
|