ARM: TC2: replace hard coded cluster and cpu values with constants
authorAchin Gupta <achin.gupta@arm.com>
Sun, 10 Mar 2013 22:36:51 +0000 (22:36 +0000)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:15 +0000 (11:05 +0100)
commit922b78c7094e1db6fcb3a0e39c91c5a4cdde8957
treedf7da6d732c4293120921767c66a7f2bb85e1eda
parentdd94c6f646873c2f16b70e1cc82451fe1c2a83c6
ARM: TC2: replace hard coded cluster and cpu values with constants

This patch adds constants in a tc2 specific header file to prevent
use of hard coded values for specifying the number of cpus and
clusters.

Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
arch/arm/mach-vexpress/include/mach/tc2.h [new file with mode: 0644]
arch/arm/mach-vexpress/tc2_pm.c