1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2024-11-19 13:27:49 +00:00
a155-U-u1/kernel-5.10/drivers/misc/mediatek/aee/mrdump/mboot_params_internal.h
2024-03-11 06:53:12 +11:00

16 lines
421 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2015 MediaTek Inc.
*/
#ifndef __MBOOT_PARAMS_INTERNAL_H__
#define __MBOOT_PARAMS_INTERNAL_H__
#define MBOOT_PARAMS_EXP_TYPE_MAGIC 0xaeedead0
#define MBOOT_PARAMS_EXP_TYPE_DEC(exp_type) \
((exp_type ^ MBOOT_PARAMS_EXP_TYPE_MAGIC) < 16 ? \
exp_type ^ MBOOT_PARAMS_EXP_TYPE_MAGIC : exp_type)
extern u32 scp_dump_pc(void);
extern u32 scp_dump_lr(void);
#endif