]> git.baikalelectronics.ru Git - arm-tf.git/commit
Remove current CPU mpidr from PSCI common code
authorAndrew Thoelke <andrew.thoelke@arm.com>
Mon, 9 Jun 2014 11:44:21 +0000 (12:44 +0100)
committerAndrew Thoelke <andrew.thoelke@arm.com>
Wed, 25 Jun 2014 15:08:35 +0000 (16:08 +0100)
commit56378aa6eeef7771507834af7550e7139bae9714
treebff6a201120f230f5b553e5e2954923e6115b3e0
parente73af8ac6849607281d5880d4c05798fe00b5d24
Remove current CPU mpidr from PSCI common code

Many of the interfaces internal to PSCI pass the current CPU
MPIDR_EL1 value from function to function. This is not required,
and with inline access to the system registers is less efficient
than requiring the code to read that register whenever required.

This patch remove the mpidr parameter from the affected interfaces
and reduces code in FVP BL3-1 size by 160 bytes.

Change-Id: I16120a7c6944de37232016d7e109976540775602
services/std_svc/psci/psci_afflvl_off.c
services/std_svc/psci/psci_afflvl_on.c
services/std_svc/psci/psci_afflvl_suspend.c
services/std_svc/psci/psci_common.c
services/std_svc/psci/psci_entry.S
services/std_svc/psci/psci_main.c
services/std_svc/psci/psci_private.h