ARM: vexpress/dcscb: do not hardcode number of CPUs per cluster
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 18 Jul 2012 20:41:16 +0000 (16:41 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 29 May 2013 19:50:35 +0000 (15:50 -0400)
If 4 CPUs are assumed, the A15x1-A7x1 model configuration would never
shut down the initial cluster as the 0xf reset bit mask will never be
observed.  Let's construct this mask based on the provided information
in the DCSCB config register for the number of CPUs per cluster.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>

No differences found