mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

This patch mainly initializes the SPM and provides common APIs for SPM to enable the use of its various features. Signed-off-by: Wenzhen Yu <wenzhen.yu@mediatek.com> Change-Id: I9facb6bf9962bb2d5fcacd945846bfaeb4c87a55
27 lines
447 B
C
27 lines
447 B
C
/*
|
|
* Copyright (c) 2025, Mediatek Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef DBG_CTRL_H
|
|
#define DBG_CTRL_H
|
|
|
|
/* SPM_WAKEUP_MISC */
|
|
#define WAKE_MISC_TWAM BIT(18)
|
|
#define WAKE_MISC_PCM_TIMER BIT(19)
|
|
#define WAKE_MISC_CPU_WAKE BIT(20)
|
|
|
|
struct dbg_ctrl {
|
|
uint32_t count;
|
|
uint32_t duration;
|
|
void *ext;
|
|
};
|
|
|
|
enum dbg_ctrl_enum {
|
|
DBG_CTRL_COUNT,
|
|
DBG_CTRL_DURATION,
|
|
DBG_CTRL_MAX,
|
|
};
|
|
|
|
#endif /* DBG_CTRL_H */
|