]> git.baikalelectronics.ru Git - arm-tf.git/commit
Allow CSS to redefine function `plat_arm_calc_core_pos`
authorDavid Wang <david.wang@arm.com>
Thu, 22 Oct 2015 05:30:50 +0000 (13:30 +0800)
committerDavid Wang <david.wang@arm.com>
Tue, 27 Oct 2015 02:11:55 +0000 (10:11 +0800)
commit371d4399d1f42a48705e316ef378553218195612
tree249afb66e5747bf071d917d84c0b65d230b0920a
parent84ab33e1e95500a3dfc776fe416b9d1a51288057
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
plat/arm/board/juno/aarch64/juno_helpers.S
plat/arm/css/common/aarch64/css_helpers.S