blob: 328c4b10e9768f67724f0ded8b1382f8dbafdcd5 [file] [log] [blame]
Dirk Behme7d75a102008-12-14 09:47:13 +01001#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Dirk Behme7d75a102008-12-14 09:47:13 +01006#
7
Masahiro Yamadad4495752013-10-17 17:34:48 +09008extra-y := start.o
Dirk Behme7d75a102008-12-14 09:47:13 +01009
Hans de Goede076e8412016-04-09 13:53:48 +020010obj-y += cache_v7.o cache_v7_asm.o
Dirk Behme7d75a102008-12-14 09:47:13 +010011
Nishanth Menonaa0294e2015-03-09 17:11:59 -050012obj-y += cpu.o cp15.o
Masahiro Yamadad4495752013-10-17 17:34:48 +090013obj-y += syslib.o
Dirk Behme7d75a102008-12-14 09:47:13 +010014
Adrian Alonso9f883e02015-09-02 13:54:23 -050015ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_MX7)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI)$(CONFIG_ARCH_SOCFPGA),)
Masahiro Yamada827b8162013-10-17 20:38:55 +090016ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
Masahiro Yamadad4495752013-10-17 17:34:48 +090017obj-y += lowlevel_init.o
Tom Riniee5bce42012-08-08 17:03:10 -070018endif
Masahiro Yamada827b8162013-10-17 20:38:55 +090019endif
Tom Riniee5bce42012-08-08 17:03:10 -070020
Jan Kiszkaac31b5a2015-04-21 07:18:24 +020021ifneq ($(CONFIG_ARMV7_NONSEC),)
Masahiro Yamadad4495752013-10-17 17:34:48 +090022obj-y += nonsec_virt.o
23obj-y += virt-v7.o
Marc Zyngierb32cf0e2014-07-12 14:24:07 +010024obj-y += virt-dt.o
Andre Przywarae776fd22013-09-19 18:06:40 +020025endif
Masahiro Yamadadf042142013-10-17 20:38:54 +090026
Marc Zyngier09659d92014-07-12 14:24:04 +010027ifneq ($(CONFIG_ARMV7_PSCI),)
28obj-y += psci.o
29endif
30
Scott Branden5653a822014-08-11 13:58:22 -070031obj-$(CONFIG_IPROC) += iproc-common/
Darwin Rambo5d6c3152014-02-11 11:06:33 -080032obj-$(CONFIG_KONA) += kona-common/
Masahiro Yamada827b8162013-10-17 20:38:55 +090033obj-$(CONFIG_OMAP_COMMON) += omap-common/
Vitaly Andrianov0e902872014-04-04 13:16:49 -040034obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
Masahiro Yamadacd6fdfb2013-10-17 20:38:56 +090035
36ifneq (,$(filter s5pc1xx exynos,$(SOC)))
37obj-y += s5p-common/
38endif
Masahiro Yamada40e73b12014-11-13 12:28:40 +090039
Masahiro Yamadaabde1272014-11-13 12:28:42 +090040obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090041obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
42obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
43obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090044obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
45obj-$(if $(filter mx5,$(SOC)),y) += mx5/
46obj-$(CONFIG_MX6) += mx6/
Adrian Alonso9f883e02015-09-02 13:54:23 -050047obj-$(CONFIG_MX7) += mx7/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090048obj-$(CONFIG_OMAP34XX) += omap3/
49obj-$(CONFIG_OMAP44XX) += omap4/
50obj-$(CONFIG_OMAP54XX) += omap5/
51obj-$(CONFIG_RMOBILE) += rmobile/
Vikas Manocha33913c52014-11-18 10:42:22 -080052obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090053obj-$(CONFIG_ARCH_SUNXI) += sunxi/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090054obj-$(CONFIG_VF610) += vf610/