ARM: vexpress: Use FDT data in platform SMP calls
authorPawel Moll <pawel.moll@arm.com>
Fri, 24 Feb 2012 09:18:14 +0000 (09:18 +0000)
committerPawel Moll <pawel.moll@arm.com>
Fri, 24 Feb 2012 09:18:14 +0000 (09:18 +0000)
commit95d59741d281a64eba60c3283827b73680849770
tree764243f98f3b8a8ba24377947997a554fa053bbc
parente129440af63879808ee0a40613fd1cece935678e
ARM: vexpress: Use FDT data in platform SMP calls

Scan flatten device looking for A5/A9 SCU node and initialize
it using base address in "reg" property. If nothing is found,
assume that there is no special SCU initialization required
and initialize CPUs basing on numbers of "cpu" type devices
in "cpus" node of the Device Tree.

All this happens only if the board was booted with FDT,
otherwise ct_desc callbacks are used.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
arch/arm/mach-vexpress/core.h
arch/arm/mach-vexpress/platsmp.c