From 28552095d8a4eee588923a11c3f3921a2492b140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Niew=C3=B6hner?= Date: Sat, 2 Nov 2019 12:12:36 +0100 Subject: soc/intel/common: pmclib: add API to get ETR register address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a new API to get the ETR register address. Change-Id: I706f3e220d639a6133625e3cb7267f7009006af2 Signed-off-by: Michael Niewöhner Reviewed-on: https://review.coreboot.org/c/coreboot/+/36565 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/include/intelblocks/pmclib.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/intel/common/block/include/intelblocks/pmclib.h b/src/soc/intel/common/block/include/intelblocks/pmclib.h index caf21f0ca6..7cc501df7e 100644 --- a/src/soc/intel/common/block/include/intelblocks/pmclib.h +++ b/src/soc/intel/common/block/include/intelblocks/pmclib.h @@ -169,6 +169,9 @@ void pmc_gpe_init(void); /* Returns PMC base address */ uintptr_t soc_read_pmc_base(void); +/* Returns pointer to the ETR register */ +uint32_t *soc_pmc_etr_addr(void); + /* * This function returns array of string which represents * names for the SMI status register bits. Size of the array is -- cgit v1.2.3