mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
9e32366fe5
The reset handler code is used for either UP or SMP. To make Tegra device can compile for UP. It needs to be moved to another file that is not SMP only. This is because the reset handler also be needed by CPU idle "powered-down" mode. So we also need to put the reset handler init function in non-SMP only and init them always. And currently the implementation of the reset handler to know which CPU is OK to bring up was identital with "cpu_present_mask". But the "cpu_present_mask" did not initialize yet when the reset handler init function was moved to init early function. We use the "cpu_possible_mask" to replace "cpu_present_mask". Then it can work on both UP and SMP case. Signed-off-by: Joseph Lo <josephl@nvidia.com> [swarren: dropped the move of v7_invalidate_l1() from one file to another, to avoid conflicts with Pavel's cleanup of this function, adjust Makefile so each line only contains 1 file.] Signed-off-by: Stephen Warren <swarren@nvidia.com>
41 lines
1.5 KiB
Makefile
41 lines
1.5 KiB
Makefile
obj-y += common.o
|
|
obj-y += io.o
|
|
obj-y += irq.o
|
|
obj-y += clock.o
|
|
obj-y += fuse.o
|
|
obj-y += pmc.o
|
|
obj-y += flowctrl.o
|
|
obj-y += powergate.o
|
|
obj-y += apbio.o
|
|
obj-y += pm.o
|
|
obj-y += reset.o
|
|
obj-y += reset-handler.o
|
|
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
|
|
obj-$(CONFIG_CPU_IDLE) += sleep.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_clocks.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_clocks_data.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_speedo.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_emc.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += sleep-tegra20.o
|
|
ifeq ($(CONFIG_CPU_IDLE),y)
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += cpuidle-tegra20.o
|
|
endif
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30_clocks.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30_clocks_data.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30_speedo.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += sleep-tegra30.o
|
|
ifeq ($(CONFIG_CPU_IDLE),y)
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += cpuidle-tegra30.o
|
|
endif
|
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
|
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
|
obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o
|
|
obj-$(CONFIG_TEGRA_PCI) += pcie.o
|
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-dt-tegra20.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += board-dt-tegra30.o
|
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-harmony-pcie.o
|
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-paz00.o
|