diff options
author | Sridhar Siricilla <sridhar.siricilla@intel.com> | 2022-04-28 23:32:01 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-21 14:04:24 +0000 |
commit | e5ca71db06a539d30f83d5fdf920e24ef4891df5 (patch) | |
tree | 4a2ce829c27efc766a068d6cd85d63d487799a9e /src/soc/intel/common/basecode/include/intelbasecode | |
parent | 88019ddbdf367ce8e44fd46d46ad042f9ca78355 (diff) | |
download | coreboot-e5ca71db06a539d30f83d5fdf920e24ef4891df5.tar.gz coreboot-e5ca71db06a539d30f83d5fdf920e24ef4891df5.tar.bz2 coreboot-e5ca71db06a539d30f83d5fdf920e24ef4891df5.zip |
soc/intel/common: Add support to read CPU and PCH Trace Hub modes
The patch parses CPU and PCH Trace Hub modes from the debug area in the
Descriptor Region. The modes can be updated in the debug area in order
to configure the CPU and PCH Trace Hub modes. The debug area's offset
starts from the SPI Flash offset:0xf00.
For runtime debugging, the OEM Section in the Descriptor Region is being
used as debug area. The OEM Section details are documented in the SPI
Programmer Guide of CSE Lite kit.
TEST=Build code for Gimble
Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: I61241c5c1981ddc4b21581bb3ed9f531da5f41b2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64437
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Diffstat (limited to 'src/soc/intel/common/basecode/include/intelbasecode')
-rw-r--r-- | src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h b/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h index c8e23822d2f0..9a01590fcbf5 100644 --- a/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h +++ b/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h @@ -5,6 +5,9 @@ #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); |