Implement late binding for runtime hooks
At present SPD power management hooks and BL3-2 entry are implemented
using weak references. This would have the handlers bound and registered
with the core framework at build time, but leaves them dangling if a
service fails to initialize at runtime.

This patch replaces implementation by requiring runtime handlers to
register power management and deferred initialization hooks with the
core framework at runtime. The runtime services are to register the
hooks only as the last step, after having all states successfully
initialized.

Change-Id: Ibe788a2a381ef39aec1d4af5ba02376e67269782
1 parent 9128ffe commit 7f36660559a7d4786e9a30de6c5af74338ed9469
@Jeenu Viswambharan Jeenu Viswambharan authored on 20 Feb 2014
Dan Handley committed on 26 Feb 2014
Showing 11 changed files
View
bl31/bl31_main.c
View
include/bl31.h
View
include/psci.h
View
services/psci/psci_afflvl_off.c
View
services/psci/psci_afflvl_on.c
View
services/psci/psci_afflvl_suspend.c
View
services/psci/psci_common.c
View
services/psci/psci_private.h
View
services/spd/tspd/tspd_main.c
View
services/spd/tspd/tspd_pm.c
View
services/spd/tspd/tspd_private.h