PSCI: Do psci_setup() as part of std_svc_setup()
authorSoby Mathew <soby.mathew@arm.com>
Mon, 19 Sep 2016 16:21:15 +0000 (17:21 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 22 Sep 2016 16:07:20 +0000 (17:07 +0100)
commit58e946aec50c022578fd47da93b0b4bd62e94d5b
tree3c259a2688e4851a4d60e21bafd2e10700ab7b2b
parentf426fc0519103defb3dcf4a9d86d985d48204424
PSCI: Do psci_setup() as part of std_svc_setup()

This patch moves the invocation of `psci_setup()` from BL31 and SP_MIN
into `std_svc_setup()` as part of ARM Standard Service initialization.
This allows us to consolidate ARM Standard Service initializations which
will be added to in the future. A new function `get_arm_std_svc_args()`
is introduced to get arguments corresponding to each standard service.
This function must be implemented by the EL3 Runtime Firmware and both
SP_MIN and BL31 implement it.

Change-Id: I38e1b644f797fa4089b20574bd4a10f0419de184
bl31/bl31_main.c
bl32/sp_min/sp_min_main.c
include/services/std_svc.h
services/std_svc/std_svc_setup.c