mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
Merge pull request #1715 from pangupta/master
ccn: for RN-I, used node id instead of node postion
This commit is contained in:
commit
fd809dc8d8
1 changed files with 8 additions and 1 deletions
|
@ -553,6 +553,13 @@ static unsigned int get_region_id_for_node(node_types_t node_type,
|
||||||
return REGION_ID_LIMIT;
|
return REGION_ID_LIMIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* According to section 3.1.1 in CCN specification, region offset for
|
||||||
|
* the RN-I components is calculated as (128 + NodeID of RN-I).
|
||||||
|
*/
|
||||||
|
if (node_type == NODE_TYPE_RNI)
|
||||||
|
region_id += node_id;
|
||||||
|
else
|
||||||
region_id += node_pos_in_map;
|
region_id += node_pos_in_map;
|
||||||
|
|
||||||
return region_id;
|
return region_id;
|
||||||
|
|
Loading…
Add table
Reference in a new issue