Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2010,2011 Nvidia Corporation. |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 4 | |
Svyatoslav Ryhel | f8700e4 | 2023-02-14 19:35:38 +0200 | [diff] [blame] | 5 | obj-$(CONFIG_SPL_BUILD) += cpu.o |
| 6 | obj-$(CONFIG_$(SPL_)CMD_EBTUPDATE) += bct.o |
Masahiro Yamada | ed1632a | 2015-02-20 17:04:04 +0900 | [diff] [blame] | 7 | |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 8 | # The AVP is ARMv4T architecture so we must use special compiler |
| 9 | # flags for any startup files it might use. |
Tom Rini | 3b787ef | 2016-08-01 18:54:53 -0400 | [diff] [blame] | 10 | CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \ |
| 11 | -D__LINUX_ARM_ARCH__=4 |
Marek BehĂșn | 332731e | 2021-05-20 13:24:17 +0200 | [diff] [blame] | 12 | CFLAGS_REMOVE_warmboot_avp.o := $(LTO_CFLAGS) |
Allen Martin | 21fe2f0 | 2012-08-31 08:30:01 +0000 | [diff] [blame] | 13 | |
Svyatoslav Ryhel | 1396110 | 2023-11-27 11:54:21 +0200 | [diff] [blame] | 14 | obj-y += clock.o |
Svyatoslav Ryhel | 7d5a2f4 | 2023-02-14 19:35:35 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_TEGRA_LP0) += warmboot.o warmboot_avp.o |
Masahiro Yamada | 5a0c0ba | 2013-10-17 17:34:52 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o |
| 17 | obj-$(CONFIG_TEGRA_PMU) += pmu.o |