blob: fc3fb4ae4ccdb7bf67175102e847216d93825d08 [file] [log] [blame]
Allen Martin21fe2f02012-08-31 08:30:01 +00001#
2# (C) Copyright 2010,2011 Nvidia Corporation.
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Allen Martin21fe2f02012-08-31 08:30:01 +00005#
6
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09007ifdef CONFIG_SPL_BUILD
8obj-y += cpu.o
9else
Masahiro Yamadaed1632a2015-02-20 17:04:04 +090010obj-$(CONFIG_VIDEO_TEGRA) += display.o
11endif
12
Allen Martin21fe2f02012-08-31 08:30:01 +000013# The AVP is ARMv4T architecture so we must use special compiler
14# flags for any startup files it might use.
Masahiro Yamadac51672c2014-03-31 14:23:15 +090015CFLAGS_warmboot_avp.o += -march=armv4t
Allen Martin21fe2f02012-08-31 08:30:01 +000016
Masahiro Yamada5a0c0ba2013-10-17 17:34:52 +090017obj-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