Home
last modified time | relevance | path

Searched hist:eac8077a374c18089936da1c6d48d3314228998d (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/services/std_svc/spmd/
H A Dspmd_main.ceac8077a374c18089936da1c6d48d3314228998d Fri Jun 07 08:22:50 UTC 2024 Olivier Deprez <olivier.deprez@arm.com> refactor(spmd): move plat_my_core_pos calls

By tracing instruction execution, it is observed:
Placing plat_my_core_pos at top of functions translate by the compiler
into calling those functions even if the result is not consumed when not
printed.
plat_my_core_pos is used to retrieve the core id for the currently
running core, but effectively call sites are only consuming it for
verbosity purposes. Move plat_my_core_pos calls into the print functions
that require it.

Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: Ia3549453b5e4de7c575a8887a4d19e318658d03e