blob: 9a01590fcbf5ee3e9c26e15a709337b09ab28ef3 [file] [log] [blame]
Sridhar Siricilla2c2706c2022-01-25 00:15:17 +05301/* 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
Sridhar Siricillae5ca71d2022-04-28 23:32:01 +05308/* Get cpu and pch tracehub modes defined in the OEM Section of descriptor region */
9void debug_get_pch_cpu_tracehub_modes(uint8_t *cpu_tracehub_mode, uint8_t *pch_trachub_mode);
10
Sridhar Siricilla0aa1ac42022-03-09 20:35:32 +053011/* Check if CSE firmware update is enabled or not */
12bool is_debug_cse_fw_update_disable(void);
13
Sridhar Siricilla2c2706c2022-01-25 00:15:17 +053014/*
15 * Reads OEM Section area in the Descriptor Region and
Sridhar Siricilla04481772022-06-15 22:44:06 +053016 * populates debug_feature_cntrl structure.
Sridhar Siricilla2c2706c2022-01-25 00:15:17 +053017 */
Sridhar Siricilla04481772022-06-15 22:44:06 +053018enum cb_err dbg_feature_cntrl_init(void);
Sridhar Siricilla2c2706c2022-01-25 00:15:17 +053019
20#endif