1*09f455dcSMasahiro Yamada# 2*09f455dcSMasahiro Yamada# (C) Copyright 2010,2011 Nvidia Corporation. 3*09f455dcSMasahiro Yamada# 4*09f455dcSMasahiro Yamada# SPDX-License-Identifier: GPL-2.0+ 5*09f455dcSMasahiro Yamada# 6*09f455dcSMasahiro Yamada 7*09f455dcSMasahiro Yamadaifdef CONFIG_SPL_BUILD 8*09f455dcSMasahiro Yamadaobj-y += cpu.o 9*09f455dcSMasahiro Yamadaelse 10*09f455dcSMasahiro Yamadaobj-$(CONFIG_PWM_TEGRA) += pwm.o 11*09f455dcSMasahiro Yamadaobj-$(CONFIG_VIDEO_TEGRA) += display.o 12*09f455dcSMasahiro Yamadaendif 13*09f455dcSMasahiro Yamada 14*09f455dcSMasahiro Yamada# The AVP is ARMv4T architecture so we must use special compiler 15*09f455dcSMasahiro Yamada# flags for any startup files it might use. 16*09f455dcSMasahiro YamadaCFLAGS_warmboot_avp.o += -march=armv4t 17*09f455dcSMasahiro Yamada 18*09f455dcSMasahiro Yamadaobj-y += clock.o funcmux.o pinmux.o 19*09f455dcSMasahiro Yamadaobj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o 20*09f455dcSMasahiro Yamadaobj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o 21*09f455dcSMasahiro Yamadaobj-$(CONFIG_TEGRA_PMU) += pmu.o 22