2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-08-31 08:30:01 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2010,2011 Nvidia Corporation.
|
|
|
|
|
2023-02-14 17:35:38 +00:00
|
|
|
obj-$(CONFIG_SPL_BUILD) += cpu.o
|
|
|
|
obj-$(CONFIG_$(SPL_)CMD_EBTUPDATE) += bct.o
|
2015-02-20 08:04:04 +00:00
|
|
|
|
2012-08-31 08:30:01 +00:00
|
|
|
# The AVP is ARMv4T architecture so we must use special compiler
|
|
|
|
# flags for any startup files it might use.
|
2016-08-01 22:54:53 +00:00
|
|
|
CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \
|
|
|
|
-D__LINUX_ARM_ARCH__=4
|
2021-05-20 11:24:17 +00:00
|
|
|
CFLAGS_REMOVE_warmboot_avp.o := $(LTO_CFLAGS)
|
2012-08-31 08:30:01 +00:00
|
|
|
|
2013-10-17 08:34:52 +00:00
|
|
|
obj-y += clock.o funcmux.o pinmux.o
|
2023-02-14 17:35:35 +00:00
|
|
|
obj-$(CONFIG_TEGRA_LP0) += warmboot.o warmboot_avp.o
|
2013-10-17 08:34:52 +00:00
|
|
|
obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
|
|
|
|
obj-$(CONFIG_TEGRA_PMU) += pmu.o
|