blob: 991cabeec56a62f2b677c5f9308fd06a97ca0167 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Allen Martin21fe2f02012-08-31 08:30:01 +00002#
3# (C) Copyright 2010,2011 Nvidia Corporation.
Allen Martin21fe2f02012-08-31 08:30:01 +00004
Svyatoslav Ryhelf8700e42023-02-14 19:35:38 +02005obj-$(CONFIG_SPL_BUILD) += cpu.o
6obj-$(CONFIG_$(SPL_)CMD_EBTUPDATE) += bct.o
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09007
Allen Martin21fe2f02012-08-31 08:30:01 +00008# The AVP is ARMv4T architecture so we must use special compiler
9# flags for any startup files it might use.
Tom Rini3b787ef2016-08-01 18:54:53 -040010CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \
11 -D__LINUX_ARM_ARCH__=4
Marek BehĂșn332731e2021-05-20 13:24:17 +020012CFLAGS_REMOVE_warmboot_avp.o := $(LTO_CFLAGS)
Allen Martin21fe2f02012-08-31 08:30:01 +000013
Masahiro Yamada5a0c0ba2013-10-17 17:34:52 +090014obj-y += clock.o funcmux.o pinmux.o
Svyatoslav Ryhel7d5a2f42023-02-14 19:35:35 +020015obj-$(CONFIG_TEGRA_LP0) += warmboot.o warmboot_avp.o
Masahiro Yamada5a0c0ba2013-10-17 17:34:52 +090016obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
17obj-$(CONFIG_TEGRA_PMU) += pmu.o