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)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:04:53 +0000 (11:04 +0100)
commitab28e08f102695a7f81cc5618e1f78fbbfba92a0
treed400edced4bf8e5ca2f45dc22f94a763ca9611fa
parente53b923187b1b07a709ca6e8d76a213b2d91f6e8
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