blob: 2774c866b0231a9635875578818f1c01b7afa22a [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Allen Martind9e73a82012-08-31 08:30:01 +00002#
3# (C) Copyright 2010,2011 Nvidia Corporation.
Allen Martind9e73a82012-08-31 08:30:01 +00004
Simon Glassbef9fdb2024-09-29 19:49:46 -06005obj-$(CONFIG_XPL_BUILD) += cpu.o
Svyatoslav Ryhel5a8fe1e2023-02-14 19:35:38 +02006obj-$(CONFIG_$(SPL_)CMD_EBTUPDATE) += bct.o
Masahiro Yamada09f455d2015-02-20 17:04:04 +09007
Allen Martind9e73a82012-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 Rinia78cd862016-08-01 18:54:53 -040010CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \
11 -D__LINUX_ARM_ARCH__=4
Marek BehĂșn9d3918f2021-05-20 13:24:17 +020012CFLAGS_REMOVE_warmboot_avp.o := $(LTO_CFLAGS)
Allen Martind9e73a82012-08-31 08:30:01 +000013
Svyatoslav Ryhelb98bed02023-11-27 11:54:21 +020014obj-y += clock.o
Svyatoslav Ryhel8ed2bd12023-02-14 19:35:35 +020015obj-$(CONFIG_TEGRA_LP0) += warmboot.o warmboot_avp.o
Masahiro Yamadafa8f9502013-10-17 17:34:52 +090016obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
17obj-$(CONFIG_TEGRA_PMU) += pmu.o