summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h
blob: 9a01590fcbf5ee3e9c26e15a709337b09ab28ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE_H
#define SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE_H

#include <types.h>

/* Get cpu and pch tracehub modes defined in the OEM Section of descriptor region */
void debug_get_pch_cpu_tracehub_modes(uint8_t *cpu_tracehub_mode, uint8_t *pch_trachub_mode);

/* Check if CSE firmware update is enabled or not */
bool is_debug_cse_fw_update_disable(void);

/*
 * Reads OEM Section area in the Descriptor Region and
 * populates debug_feature_cntrl structure.
 */
enum cb_err dbg_feature_cntrl_init(void);

#endif