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