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