xref: /openbmc/u-boot/arch/arm/cpu/armv7/Makefile (revision 165ecd26)
1f56348afSSteve Sakoman#
2f56348afSSteve Sakoman# (C) Copyright 2000-2003
3f56348afSSteve Sakoman# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4f56348afSSteve Sakoman#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
6f56348afSSteve Sakoman#
7f56348afSSteve Sakoman
84e1aa843SMasahiro Yamadaextra-y	:= start.o
9f56348afSSteve Sakoman
104e1aa843SMasahiro Yamadaobj-y	+= cache_v7.o
11f56348afSSteve Sakoman
124e1aa843SMasahiro Yamadaobj-y	+= cpu.o
134e1aa843SMasahiro Yamadaobj-y	+= syslib.o
14f56348afSSteve Sakoman
15cba69eeeSIan Campbellifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI),)
163c5edd8cSMasahiro Yamadaifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
174e1aa843SMasahiro Yamadaobj-y	+= lowlevel_init.o
1841aebf81STom Riniendif
193c5edd8cSMasahiro Yamadaendif
2041aebf81STom Rini
21d4296887SAndre Przywaraifneq ($(CONFIG_ARMV7_NONSEC)$(CONFIG_ARMV7_VIRT),)
224e1aa843SMasahiro Yamadaobj-y	+= nonsec_virt.o
234e1aa843SMasahiro Yamadaobj-y	+= virt-v7.o
24e771a3d5SMarc Zyngierobj-y	+= virt-dt.o
2545b940d6SAndre Przywaraendif
2637d82bebSMasahiro Yamada
27ecf07a79SMarc Zyngierifneq ($(CONFIG_ARMV7_PSCI),)
28ecf07a79SMarc Zyngierobj-y	+= psci.o
29ecf07a79SMarc Zyngierendif
30ecf07a79SMarc Zyngier
31c4b45009SScott Brandenobj-$(CONFIG_IPROC) += iproc-common/
32b3134fceSDarwin Ramboobj-$(CONFIG_KONA) += kona-common/
333c5edd8cSMasahiro Yamadaobj-$(CONFIG_OMAP_COMMON) += omap-common/
3411bc7557SVitaly Andrianovobj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
3537d82bebSMasahiro Yamadaobj-$(CONFIG_TEGRA) += tegra-common/
3609ab61c6SMasahiro Yamada
3709ab61c6SMasahiro Yamadaifneq (,$(filter s5pc1xx exynos,$(SOC)))
3809ab61c6SMasahiro Yamadaobj-y += s5p-common/
3909ab61c6SMasahiro Yamadaendif
40*165ecd26SMasahiro Yamada
41*165ecd26SMasahiro Yamadaobj-y += $(if $(SOC),$(SOC)/)
42