xref: /openbmc/u-boot/arch/arm/cpu/armv7/Makefile (revision e35171e9)
183d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
2f56348afSSteve Sakoman#
3f56348afSSteve Sakoman# (C) Copyright 2000-2003
4f56348afSSteve Sakoman# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5f56348afSSteve Sakoman
64e1aa843SMasahiro Yamadaextra-y	:= start.o
7f56348afSSteve Sakoman
8c09d2905SHans de Goedeobj-y	+= cache_v7.o cache_v7_asm.o
9f56348afSSteve Sakoman
10c616a0dfSNishanth Menonobj-y	+= cpu.o cp15.o
114e1aa843SMasahiro Yamadaobj-y	+= syslib.o
12f56348afSSteve Sakoman
13f2ef2043SLokesh Vutlaobj-$(CONFIG_SYS_ARM_MPU) += mpu_v7r.o
14f2ef2043SLokesh Vutla
1578f90aaeSHeinrich Schuchardtifneq ($(CONFIG_SPL_BUILD),y)
1678f90aaeSHeinrich Schuchardtobj-$(CONFIG_EFI_LOADER) += sctlr.o
17*f6c6df7eSHeinrich Schuchardtobj-$(CONFIG_ARMV7_NONSEC) += exception_level.o
1878f90aaeSHeinrich Schuchardtendif
1978f90aaeSHeinrich Schuchardt
203c5edd8cSMasahiro Yamadaifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
214e1aa843SMasahiro Yamadaobj-y	+= lowlevel_init.o
2241aebf81STom Riniendif
2341aebf81STom Rini
24c54bcf68SMasahiro Yamadaobj-$(CONFIG_ARM_SMCCC)		+= smccc-call.o
25ec048369SMasahiro Yamadaobj-$(CONFIG_ARMV7_NONSEC)	+= nonsec_virt.o virt-v7.o virt-dt.o
2645c334e6SChen-Yu Tsaiobj-$(CONFIG_ARMV7_PSCI)	+= psci.o psci-common.o
27ecf07a79SMarc Zyngier
28c4b45009SScott Brandenobj-$(CONFIG_IPROC) += iproc-common/
29b3134fceSDarwin Ramboobj-$(CONFIG_KONA) += kona-common/
3011bc7557SVitaly Andrianovobj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
3109ab61c6SMasahiro Yamada
3209ab61c6SMasahiro Yamadaifneq (,$(filter s5pc1xx exynos,$(SOC)))
3309ab61c6SMasahiro Yamadaobj-y += s5p-common/
3409ab61c6SMasahiro Yamadaendif
35165ecd26SMasahiro Yamada
3643486e4cSSteve Raeobj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
3756f31e87SMasahiro Yamadaobj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
3856f31e87SMasahiro Yamadaobj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
3956f31e87SMasahiro Yamadaobj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
4056f31e87SMasahiro Yamadaobj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
4156f31e87SMasahiro Yamadaobj-$(CONFIG_RMOBILE) += rmobile/
429fa32b12SVikas Manochaobj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
4356f31e87SMasahiro Yamadaobj-$(CONFIG_ARCH_SUNXI) += sunxi/
4456f31e87SMasahiro Yamadaobj-$(CONFIG_VF610) += vf610/
45