blob: 72d82a5218f6a8795fe073e31968b6f11a5b2eb5 [file] [log] [blame]
Allen Martind9e73a82012-08-31 08:30:01 +00001#
2# (C) Copyright 2010,2011 Nvidia Corporation.
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Allen Martind9e73a82012-08-31 08:30:01 +00005#
6
Masahiro Yamada09f455d2015-02-20 17:04:04 +09007ifdef CONFIG_SPL_BUILD
8obj-y += cpu.o
Masahiro Yamada09f455d2015-02-20 17:04:04 +09009endif
10
Allen Martind9e73a82012-08-31 08:30:01 +000011# The AVP is ARMv4T architecture so we must use special compiler
12# flags for any startup files it might use.
Tom Rinia78cd862016-08-01 18:54:53 -040013CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \
14 -D__LINUX_ARM_ARCH__=4
Allen Martind9e73a82012-08-31 08:30:01 +000015
Masahiro Yamadafa8f9502013-10-17 17:34:52 +090016obj-y += clock.o funcmux.o pinmux.o
17obj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o
18obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
19obj-$(CONFIG_TEGRA_PMU) += pmu.o