]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
ARM: highbank: abstract out SCU usage
authorRob Herring <rob.herring@calxeda.com>
Thu, 25 Oct 2012 17:13:47 +0000 (12:13 -0500)
committerRob Herring <rob.herring@calxeda.com>
Wed, 31 Oct 2012 18:46:50 +0000 (13:46 -0500)
commit7a2848d369b2b9281400e6c9f08e21ec71cd1dcb
treeabb8983696264faee745f49a8132589134f0e791
parent0336517b38c5fd643784eeee8f0d73efd48e3361
ARM: highbank: abstract out SCU usage

In preparation for A15 support on ECX-2000, the direct calls to SCU
registers must be conditional. The SCU power mode register is replaced by
a custom register on ECX-2000.

Rather than read the number of cores from the SCU, just hardcode it to 4.
This removes one use of SCU and removes the need for the SCU to be
statically mapped. The cpu initialization will ultimately come from DT.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-highbank/highbank.c
arch/arm/mach-highbank/hotplug.c
arch/arm/mach-highbank/platsmp.c
arch/arm/mach-highbank/pm.c
arch/arm/mach-highbank/sysregs.h
arch/arm/mach-highbank/system.c