summaryrefslogtreecommitdiff
path: root/arch/arm/mach-vexpress/core.h
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2012-02-24 09:18:14 +0000
committerPawel Moll <pawel.moll@arm.com>2012-02-24 09:18:14 +0000
commit95d59741d281a64eba60c3283827b73680849770 (patch)
tree764243f98f3b8a8ba24377947997a554fa053bbc /arch/arm/mach-vexpress/core.h
parente129440af63879808ee0a40613fd1cece935678e (diff)
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>
Diffstat (limited to 'arch/arm/mach-vexpress/core.h')
-rw-r--r--arch/arm/mach-vexpress/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-vexpress/core.h b/arch/arm/mach-vexpress/core.h
index 3508f6ef78ea..d78322d95a98 100644
--- a/arch/arm/mach-vexpress/core.h
+++ b/arch/arm/mach-vexpress/core.h
@@ -20,3 +20,5 @@ struct amba_device name##_device = { \
/* Tile's peripherals static mappings should start here */
#define V2T_PERIPH 0xf8200000
+
+void vexpress_dt_smp_map_io(void);