blob: 6c1dff2eccc290e34c37c365512e5f0dbed9043b [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2asflags-y += -march=armv7-a
3
4obj-y += io.o
5obj-y += irq.o
6obj-y += pm.o
7obj-y += reset.o
8obj-y += reset-handler.o
9obj-y += sleep.o
10obj-y += tegra.o
11obj-$(CONFIG_CPU_IDLE) += cpuidle.o
12obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += sleep-tegra20.o
13obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pm-tegra20.o
14ifeq ($(CONFIG_CPU_IDLE),y)
15obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += cpuidle-tegra20.o
16endif
17obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += sleep-tegra30.o
18obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pm-tegra30.o
19ifeq ($(CONFIG_CPU_IDLE),y)
20obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += cpuidle-tegra30.o
21endif
22obj-$(CONFIG_SMP) += platsmp.o
23obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
24
25obj-$(CONFIG_ARCH_TEGRA_114_SOC) += sleep-tegra30.o
26obj-$(CONFIG_ARCH_TEGRA_114_SOC) += pm-tegra30.o
27ifeq ($(CONFIG_CPU_IDLE),y)
28obj-$(CONFIG_ARCH_TEGRA_114_SOC) += cpuidle-tegra114.o
29endif
30obj-$(CONFIG_ARCH_TEGRA_124_SOC) += sleep-tegra30.o
31obj-$(CONFIG_ARCH_TEGRA_124_SOC) += pm-tegra30.o
32ifeq ($(CONFIG_CPU_IDLE),y)
33obj-$(CONFIG_ARCH_TEGRA_124_SOC) += cpuidle-tegra114.o
34endif
35
36obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-paz00.o