diff options
author | Subrata Banik <subrata.banik@intel.com> | 2017-08-21 16:42:15 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-08-23 16:17:04 +0000 |
commit | bd6ac22f48c517c72e3a5855c932bb5bea0e01fb (patch) | |
tree | e566803b39a6406d8c7ef76c3e8aa1f179670cea /src/soc/intel/common/block/include/intelblocks | |
parent | 53461ad1f89f31a091d6e055dedbb9c0b014ac86 (diff) |
soc/intel/common: Add functions into common system agent library
This patch to add helper functions for memory layout design
based on PCI Host Bridge/DRAM registers.
BRANCH=none
BUG=b:63974384
TEST=Build and boot eve successfully.
Change-Id: I95250ef493c9844b8c46528f1f7de8a42cba88a2
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/21133
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')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/systemagent.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/systemagent.h b/src/soc/intel/common/block/include/intelblocks/systemagent.h index 22a2b8d043..5f04e3643c 100644 --- a/src/soc/intel/common/block/include/intelblocks/systemagent.h +++ b/src/soc/intel/common/block/include/intelblocks/systemagent.h @@ -73,7 +73,14 @@ void enable_bios_reset_cpl(void); void enable_pam_region(void); /* API to enable Power Aware Interrupt Routing through MCHBAR */ void enable_power_aware_intr(void); - +/* API to get TOLUD base address */ +uint32_t sa_get_tolud_base(void); +/* API to get DSM size */ +size_t sa_get_dsm_size(void); +/* API to get GSM size */ +size_t sa_get_gsm_size(void); +/* API to get DPR size */ +size_t sa_get_dpr_size(void); /* * SoC overrides * |