ARM: 6771/1: vexpress: add support for multiple core tiles
commit80b5efbd43f0a21e9fc6db87823be32fcfe3e7ce
authorWill Deacon <will.deacon@arm.com>
Mon, 28 Feb 2011 16:01:04 +0000 (28 17:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Mar 2011 09:32:21 +0000 (20 09:32 +0000)
tree12a213968fa7c0bac41ff539f82ba64f0e979c4c
parent196f020fbbb83d246960548e73a40fd08f3e7866
ARM: 6771/1: vexpress: add support for multiple core tiles

The current Versatile Express BSP defines the MACHINE_START macro
in the core tile code.

This patch moves this into the generic board code and introduces a
method for determining the current tile at runtime, allowing the
Kernel to have support for multiple tiles compiled in. Tile-specific
functions are executed via a descriptor struct containing the correct
implementations for the current tile.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-vexpress/core.h
arch/arm/mach-vexpress/ct-ca9x4.c
arch/arm/mach-vexpress/include/mach/ct-ca9x4.h
arch/arm/mach-vexpress/include/mach/motherboard.h
arch/arm/mach-vexpress/platsmp.c
arch/arm/mach-vexpress/v2m.c