xref: /openbmc/u-boot/arch/arm/mach-tegra/Makefile (revision e8f80a5a)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2010-2015 Nvidia Corporation.
4#
5# (C) Copyright 2000-2008
6# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7
8ifndef CONFIG_TEGRA186
9ifdef CONFIG_SPL_BUILD
10obj-y += spl.o
11obj-y += cpu.o
12else
13obj-$(CONFIG_CMD_ENTERRCM) += cmd_enterrcm.o
14endif
15
16obj-y += ap.o
17obj-y += board.o board2.o
18obj-y += cache.o
19obj-y += clock.o
20obj-y += pinmux-common.o
21obj-y += powergate.o
22obj-y += xusb-padctl-dummy.o
23endif
24
25obj-$(CONFIG_ARM64) += arm64-mmu.o
26obj-y += dt-setup.o
27obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
28obj-$(CONFIG_TEGRA_GPU) += gpu.o
29obj-$(CONFIG_TEGRA_IVC) += ivc.o
30obj-y += lowlevel_init.o
31ifndef CONFIG_SPL_BUILD
32obj-$(CONFIG_ARMV7_PSCI) += psci.o
33endif
34obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
35
36obj-$(CONFIG_TEGRA20) += tegra20/
37obj-$(CONFIG_TEGRA30) += tegra30/
38obj-$(CONFIG_TEGRA114) += tegra114/
39obj-$(CONFIG_TEGRA124) += tegra124/
40obj-$(CONFIG_TEGRA186) += tegra186/
41obj-$(CONFIG_TEGRA210) += tegra210/
42