xref: /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# (C) Copyright 2000-2003
3*4882a593Smuzhiyun# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# SPDX-License-Identifier:	GPL-2.0+
6*4882a593Smuzhiyun#
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunextra-y	:= start.o
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunobj-y	+= cache_v7.o cache_v7_asm.o
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunobj-y	+= cpu.o cp15.o
13*4882a593Smuzhiyunobj-y	+= syslib.o
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
16*4882a593Smuzhiyunobj-y	+= lowlevel_init.o
17*4882a593Smuzhiyunendif
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunobj-$(CONFIG_ARM_SMCCC)		+= smccc-call.o
20*4882a593Smuzhiyunobj-$(CONFIG_ARMV7_NONSEC)	+= nonsec_virt.o virt-v7.o virt-dt.o
21*4882a593Smuzhiyunobj-$(CONFIG_ARMV7_PSCI)	+= psci.o psci-common.o
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
24*4882a593Smuzhiyunobj-$(CONFIG_ARM_CPU_SUSPEND)	+= suspend.o sleep.o
25*4882a593Smuzhiyunendif
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunobj-$(CONFIG_IPROC) += iproc-common/
28*4882a593Smuzhiyunobj-$(CONFIG_KONA) += kona-common/
29*4882a593Smuzhiyunobj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunifneq (,$(filter s5pc1xx exynos,$(SOC)))
32*4882a593Smuzhiyunobj-y += s5p-common/
33*4882a593Smuzhiyunendif
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunobj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
36*4882a593Smuzhiyunobj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
37*4882a593Smuzhiyunobj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
38*4882a593Smuzhiyunobj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
39*4882a593Smuzhiyunobj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
40*4882a593Smuzhiyunobj-$(CONFIG_RMOBILE) += rmobile/
41*4882a593Smuzhiyunobj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
42*4882a593Smuzhiyunobj-$(CONFIG_ARCH_SUNXI) += sunxi/
43*4882a593Smuzhiyunobj-$(CONFIG_VF610) += vf610/
44