mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 15:58:37 +07:00
7e10cf7436
The flowctrl driver is required for both ARM and ARM64 Tegra devices and in order to enable support for it for ARM64, move the Tegra flowctrl driver into drivers/soc/tegra. By moving the flowctrl driver, tegra_flowctrl_init() is now called by via an early initcall and to prevent this function from attempting to mapping IO space for a non-Tegra device, a test for 'soc_is_tegra()' is also added. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
asflags-y += -march=armv7-a
|
|
|
|
obj-y += io.o
|
|
obj-y += irq.o
|
|
obj-y += pm.o
|
|
obj-y += reset.o
|
|
obj-y += reset-handler.o
|
|
obj-y += sleep.o
|
|
obj-y += tegra.o
|
|
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += sleep-tegra20.o
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pm-tegra20.o
|
|
ifeq ($(CONFIG_CPU_IDLE),y)
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += cpuidle-tegra20.o
|
|
endif
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += sleep-tegra30.o
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pm-tegra30.o
|
|
ifeq ($(CONFIG_CPU_IDLE),y)
|
|
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += cpuidle-tegra30.o
|
|
endif
|
|
obj-$(CONFIG_SMP) += platsmp.o
|
|
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
|
|
|
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += sleep-tegra30.o
|
|
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_124_SOC) += pm-tegra30.o
|
|
ifeq ($(CONFIG_CPU_IDLE),y)
|
|
obj-$(CONFIG_ARCH_TEGRA_124_SOC) += cpuidle-tegra114.o
|
|
endif
|
|
|
|
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-paz00.o
|