]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/bus: arm-cci: function to enable CCI ports from early boot code
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 22 May 2013 03:34:41 +0000 (23:34 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 29 May 2013 19:50:34 +0000 (15:50 -0400)
commit62158f817ad3e0368480b8e9480be34bffd8c74a
tree98dd2c84a505af7ee30f2b57389a27f1dd701f1e
parented69bdd8fd9b2db68b915ce5f60fc51d4744a9b1
drivers/bus: arm-cci: function to enable CCI ports from early boot code

This provides cci_enable_port_for_self().  This is the counterpart to
cci_disable_port_by_cpu(self).

This is meant to be called from the MCPM machine specific power_up_setup
callback code when the appropriate affinity level needs to be initialized.
The code therefore has to be position independent as the MMU is still off
and it cannot rely on any stack space.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Dave Martin <dave.martin@linaro.org>
drivers/bus/arm-cci.c