blob: faaf30d06816292b005e1b22bf7947123fb31d90 [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
Masahiro Yamada09f455d2015-02-20 17:04:04 +09005ifdef CONFIG_SPL_BUILD
6obj-y += cpu.o
Masahiro Yamada09f455d2015-02-20 17:04:04 +09007endif
8
Allen Martind9e73a82012-08-31 08:30:01 +00009# The AVP is ARMv4T architecture so we must use special compiler
10# flags for any startup files it might use.
Tom Rinia78cd862016-08-01 18:54:53 -040011CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \
12 -D__LINUX_ARM_ARCH__=4
Allen Martind9e73a82012-08-31 08:30:01 +000013
Masahiro Yamadafa8f9502013-10-17 17:34:52 +090014obj-y += clock.o funcmux.o pinmux.o
15obj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o
16obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
17obj-$(CONFIG_TEGRA_PMU) += pmu.o