diff options
author | David Wang <david.wang@arm.com> | 2015-10-22 13:30:50 +0800 |
---|---|---|
committer | David Wang <david.wang@arm.com> | 2015-10-27 10:11:55 +0800 |
commit | 371d4399d1f42a48705e316ef378553218195612 (patch) | |
tree | 249afb66e5747bf071d917d84c0b65d230b0920a /bl31/cpu_data_array.c | |
parent | 84ab33e1e95500a3dfc776fe416b9d1a51288057 (diff) |
Allow CSS to redefine function `plat_arm_calc_core_pos`
Currently all ARM CSS platforms which include css_helpers.S use the same
strong definition of `plat_arm_calc_core_pos`. This patch allows these CSS
platforms to define their own strong definition of this function.
* Replace the strong definition of `plat_arm_calc_core_pos` in
css_helpers.S with a utility function `css_calc_core_pos_swap_cluster`
does the same thing (swaps cluster IDs). ARM CSS platforms may choose
to use this function or not.
* Add a Juno strong definition of `plat_arm_calc_core_pos`, which uses
`css_calc_core_pos_swap_cluster`.
Change-Id: Ib5385ed10e44adf6cd1398a93c25973eb3506d9d
Diffstat (limited to 'bl31/cpu_data_array.c')
0 files changed, 0 insertions, 0 deletions