blob: 99cf9eb515f9f311d56354c4ba84cf3b411d9e32 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Dirk Behme7d75a102008-12-14 09:47:13 +01002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Dirk Behme7d75a102008-12-14 09:47:13 +01005
Masahiro Yamadad4495752013-10-17 17:34:48 +09006extra-y := start.o
Dirk Behme7d75a102008-12-14 09:47:13 +01007
Hans de Goede076e8412016-04-09 13:53:48 +02008obj-y += cache_v7.o cache_v7_asm.o
Dirk Behme7d75a102008-12-14 09:47:13 +01009
Nishanth Menonaa0294e2015-03-09 17:11:59 -050010obj-y += cpu.o cp15.o
Masahiro Yamadad4495752013-10-17 17:34:48 +090011obj-y += syslib.o
Dirk Behme7d75a102008-12-14 09:47:13 +010012
Lokesh Vutla076ee452018-04-26 18:21:30 +053013obj-$(CONFIG_SYS_ARM_MPU) += mpu_v7r.o
14
Heinrich Schuchardt206697a2018-04-03 21:59:33 +020015ifneq ($(CONFIG_SPL_BUILD),y)
16obj-$(CONFIG_EFI_LOADER) += sctlr.o
Heinrich Schuchardtaa0b11b2019-01-08 18:13:06 +010017obj-$(CONFIG_ARMV7_NONSEC) += exception_level.o
Heinrich Schuchardt206697a2018-04-03 21:59:33 +020018endif
19
Tom Rinie1e85442021-08-27 21:18:30 -040020ifneq ($(CONFIG_$(SPL_)SKIP_LOWLEVEL_INIT),y)
Masahiro Yamadad4495752013-10-17 17:34:48 +090021obj-y += lowlevel_init.o
Tom Riniee5bce42012-08-08 17:03:10 -070022endif
23
Masahiro Yamadae8ead732017-04-14 11:10:23 +090024obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
Masahiro Yamadae873b152016-06-21 21:30:09 +090025obj-$(CONFIG_ARMV7_NONSEC) += nonsec_virt.o virt-v7.o virt-dt.o
Chen-Yu Tsaiae7947c2016-07-05 21:45:07 +080026obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o
Marc Zyngier09659d92014-07-12 14:24:04 +010027
Scott Branden5653a822014-08-11 13:58:22 -070028obj-$(CONFIG_IPROC) += iproc-common/
Vitaly Andrianov0e902872014-04-04 13:16:49 -040029obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
Masahiro Yamadacd6fdfb2013-10-17 20:38:56 +090030
31ifneq (,$(filter s5pc1xx exynos,$(SOC)))
32obj-y += s5p-common/
33endif
Masahiro Yamada40e73b12014-11-13 12:28:40 +090034
Steve Rae45f2c702016-06-02 15:10:56 -070035obj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090036obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
37obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
38obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090039obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090040obj-$(CONFIG_ARCH_SUNXI) += sunxi/
Masahiro Yamadaabde1272014-11-13 12:28:42 +090041obj-$(CONFIG_VF610) += vf610/
Stefan Boschb4bb31d2020-07-10 19:07:37 +020042obj-$(CONFIG_ARCH_S5P4418) += s5p4418/
43obj-$(CONFIG_ARCH_NEXELL) += s5p-common/