ARM: tegra: CPU hotplug support for Tegra124
authorJoseph Lo <josephl@nvidia.com>
Fri, 11 Oct 2013 09:57:30 +0000 (17:57 +0800)
committerStephen Warren <swarren@nvidia.com>
Fri, 18 Oct 2013 22:28:08 +0000 (16:28 -0600)
The procedure of CPU hotplug for Tegra124 is same with Tegra114. We
re-use the same function with it.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/hotplug.c

index 97eb48e977e553afa0d66b786a1091bbc2bdbd77..04ca2b3f34c1650d24d1334b701c5532ce940d7a 100644 (file)
@@ -35,5 +35,6 @@ obj-$(CONFIG_ARCH_TEGRA_114_SOC)      += pm-tegra30.o
 ifeq ($(CONFIG_CPU_IDLE),y)
 obj-$(CONFIG_ARCH_TEGRA_114_SOC)       += cpuidle-tegra114.o
 endif
+obj-$(CONFIG_ARCH_TEGRA_124_SOC)       += sleep-tegra30.o
 
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)                += board-paz00.o
index 04de2e8609237fbd8133b4e8341a588db47c7a33..ff26af26bd0ce7b15d7a9308f3a36d240ec0a8a1 100644 (file)
@@ -57,4 +57,6 @@ void __init tegra_hotplug_init(void)
                tegra_hotplug_shutdown = tegra30_hotplug_shutdown;
        if (IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) && tegra_chip_id == TEGRA114)
                tegra_hotplug_shutdown = tegra30_hotplug_shutdown;
+       if (IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC) && tegra_chip_id == TEGRA124)
+               tegra_hotplug_shutdown = tegra30_hotplug_shutdown;
 }