xref: /aosp_15_r20/external/coreboot/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE_H
4 #define SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE_H
5 
6 #include <types.h>
7 
8 /* Get cpu and pch tracehub modes defined in the OEM Section of descriptor region */
9 void debug_get_pch_cpu_tracehub_modes(uint8_t *cpu_tracehub_mode, uint8_t *pch_trachub_mode);
10 
11 /* Check if CSE firmware update is enabled or not */
12 bool is_debug_cse_fw_update_disable(void);
13 
14 /*
15  * Reads OEM Section area in the Descriptor Region and
16  * populates debug_feature_cntrl structure.
17  */
18 enum cb_err dbg_feature_cntrl_init(void);
19 
20 #endif
21