xref: /openbmc/u-boot/arch/arm/mach-tegra/tegra20/Makefile (revision 344c837686b4268882ee4942f2a1e5e5716c7383)
1#
2# (C) Copyright 2010,2011 Nvidia Corporation.
3#
4# SPDX-License-Identifier:	GPL-2.0+
5#
6
7ifdef CONFIG_SPL_BUILD
8obj-y	+= cpu.o
9else
10obj-$(CONFIG_VIDEO_TEGRA) += display.o
11endif
12
13# The AVP is ARMv4T architecture so we must use special compiler
14# flags for any startup files it might use.
15CFLAGS_warmboot_avp.o += -march=armv4t
16
17obj-y	+= clock.o funcmux.o pinmux.o
18obj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o
19obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
20obj-$(CONFIG_TEGRA_PMU) += pmu.o
21