diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2011-09-08 08:15:22 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-13 09:35:49 -0400 |
commit | a17257322f5e6ca376c15908b55423369274fcad (patch) | |
tree | eda0026c1ba985db6e9029d0d79d5f4ea5d86a9e /arch/arm/mach-tegra/board-dt-tegra20.c | |
parent | 06915321e7935d2eb778f0a7f333b2603c1404df (diff) |
ARM: SoC: convert Tegra to SMP operations
Convert Tegra to use struct smp_operations to provide its SMP
and CPU hotplug operations.
Tested on Harmony.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra20.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index c0999633a9ab..a30537c8003d 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include "board-harmony.h" | 45 | #include "board-harmony.h" |
46 | #include "clock.h" | 46 | #include "clock.h" |
47 | #include "devices.h" | 47 | #include "devices.h" |
48 | #include "common.h" | ||
48 | 49 | ||
49 | struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { | 50 | struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { |
50 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL), | 51 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL), |
@@ -166,6 +167,7 @@ static const char *tegra20_dt_board_compat[] = { | |||
166 | 167 | ||
167 | DT_MACHINE_START(TEGRA_DT, "nVidia Tegra20 (Flattened Device Tree)") | 168 | DT_MACHINE_START(TEGRA_DT, "nVidia Tegra20 (Flattened Device Tree)") |
168 | .map_io = tegra_map_common_io, | 169 | .map_io = tegra_map_common_io, |
170 | .smp = smp_ops(tegra_smp_ops), | ||
169 | .init_early = tegra20_init_early, | 171 | .init_early = tegra20_init_early, |
170 | .init_irq = tegra_dt_init_irq, | 172 | .init_irq = tegra_dt_init_irq, |
171 | .handle_irq = gic_handle_irq, | 173 | .handle_irq = gic_handle_irq, |