summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include/intelblocks/systemagent.h
diff options
context:
space:
mode:
authorPratik Prajapati <pratikkumar.v.prajapati@intel.com>2017-08-28 14:48:55 -0700
committerAaron Durbin <adurbin@chromium.org>2017-09-14 14:57:47 +0000
commit82cdfa73d5fbe8ded890f5bb4079a67f57449db1 (patch)
tree7916155152eae0d9d887efede3b1cc8b15951366 /src/soc/intel/common/block/include/intelblocks/systemagent.h
parentaa090cb6ea696d9b6a2869e16c53bd8b14a0e7d1 (diff)
downloadcoreboot-82cdfa73d5fbe8ded890f5bb4079a67f57449db1.tar.xz
intel/common/systemagent: Add API to get SOC specific PRMRR base and mask
Implement weak definition and SOC specific code would implement actual definition. Change-Id: I5e787a2603aaa475cb5c61558cc31ec0afcb4a8b Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com> Reviewed-on: https://review.coreboot.org/21243 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks/systemagent.h')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/systemagent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/systemagent.h b/src/soc/intel/common/block/include/intelblocks/systemagent.h
index 4ca19e667c..522d924c0b 100644
--- a/src/soc/intel/common/block/include/intelblocks/systemagent.h
+++ b/src/soc/intel/common/block/include/intelblocks/systemagent.h
@@ -100,4 +100,7 @@ void soc_systemagent_init(struct device *dev);
*/
void soc_add_fixed_mmio_resources(struct device *dev, int *resource_cnt);
+/* SoC specific APIs to get UNCORE PRMRR base and mask values
+ * returns 0, if able to get base and mask values; otherwise returns -1 */
+int soc_get_uncore_prmmr_base_and_mask(uint64_t *base, uint64_t *mask);
#endif /* SOC_INTEL_COMMON_BLOCK_SA_H */