aboutsummaryrefslogtreecommitdiff
path: root/product/rddaniel
diff options
context:
space:
mode:
authorVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2020-02-14 20:04:30 +0530
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-04-15 11:24:16 +0100
commit05e0b780b92b41b5654a74732244e3fe690b1b6a (patch)
tree70ec8cc83d5e2a7b8f75aedb2ed5ec06f841970c /product/rddaniel
parent3301a31156451293c2e05e290fe25548fe15aed1 (diff)
cmn_rhodes: update SAM programming based on chip-id
In a multi-chip scenario, the physical address space of each chip will be offset based on the chip-id. For example, if address space of a chip is 4TB, typically chip-0 physical address space will be between 0-4TB and chip-1 physical address space will be between 4TB-8TB. Update RN-SAM and HN-F SAM programming based on the chip-id and the address space. Change-Id: I2f3d51d7e1045dce2d82c1909e3df9c773a16e18 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Diffstat (limited to 'product/rddaniel')
-rw-r--r--product/rddaniel/scp_ramfw/config_cmn_rhodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/product/rddaniel/scp_ramfw/config_cmn_rhodes.c b/product/rddaniel/scp_ramfw/config_cmn_rhodes.c
index 1bf8b3b3..5cc38d18 100644
--- a/product/rddaniel/scp_ramfw/config_cmn_rhodes.c
+++ b/product/rddaniel/scp_ramfw/config_cmn_rhodes.c
@@ -122,6 +122,7 @@ static const struct fwk_element cmn_rhodes_device_table[] = {
.snf_count = FWK_ARRAY_SIZE(snf_table),
.mmap_table = mmap,
.mmap_count = FWK_ARRAY_SIZE(mmap),
+ .chip_addr_space = UINT64_C(4) * FWK_TIB,
.clock_id = FWK_ID_ELEMENT_INIT(FWK_MODULE_IDX_CLOCK,
CLOCK_IDX_INTERCONNECT),
.hnf_cal_mode = true,