blob: bfbd85ae64ef74b2b645ec84facbc2f139cc8e8a [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Dirk Behme0b02b182008-12-14 09:47:13 +01002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Dirk Behme0b02b182008-12-14 09:47:13 +01005
Masahiro Yamada4e1aa842013-10-17 17:34:48 +09006extra-y := start.o
Dirk Behme0b02b182008-12-14 09:47:13 +01007
Hans de Goedec09d2902016-04-09 13:53:48 +02008obj-y += cache_v7.o cache_v7_asm.o
Dirk Behme0b02b182008-12-14 09:47:13 +01009
Nishanth Menonc616a0d2015-03-09 17:11:59 -050010obj-y += cpu.o cp15.o
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090011obj-y += syslib.o
Dirk Behme0b02b182008-12-14 09:47:13 +010012
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +053013obj-$(CONFIG_SYS_ARM_MPU) += mpu_v7r.o
14
Heinrich Schuchardt78f90aa2018-04-03 21:59:33 +020015ifneq ($(CONFIG_SPL_BUILD),y)
16obj-$(CONFIG_EFI_LOADER) += sctlr.o
Heinrich Schuchardtf6c6df72019-01-08 18:13:06 +010017obj-$(CONFIG_ARMV7_NONSEC) += exception_level.o
Heinrich Schuchardt78f90aa2018-04-03 21:59:33 +020018endif
19
Tom Rinia2ac2b92021-08-27 21:18:30 -040020ifneq ($(CONFIG_$(SPL_)SKIP_LOWLEVEL_INIT),y)
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090021obj-y += lowlevel_init.o
Tom Rini41aebf82012-08-08 17:03:10 -070022endif
23
Masahiro Yamadac54bcf62017-04-14 11:10:23 +090024obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
Masahiro Yamadaec048362016-06-21 21:30:09 +090025obj-$(CONFIG_ARMV7_NONSEC) += nonsec_virt.o virt-v7.o virt-dt.o
Chen-Yu Tsai45c334e2016-07-05 21:45:07 +080026obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o
Marc Zyngierecf07a72014-07-12 14:24:04 +010027
Scott Brandenc4b45002014-08-11 13:58:22 -070028obj-$(CONFIG_IPROC) += iproc-common/
Darwin Rambob3134fc2014-02-11 11:06:33 -080029obj-$(CONFIG_KONA) += kona-common/
Vitaly Andrianov11bc7552014-04-04 13:16:49 -040030obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
Masahiro Yamada09ab61c2013-10-17 20:38:56 +090031
32ifneq (,$(filter s5pc1xx exynos,$(SOC)))
33obj-y += s5p-common/
34endif
Masahiro Yamada165ecd22014-11-13 12:28:40 +090035
Steve Rae43486e42016-06-02 15:10:56 -070036obj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090037obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
38obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
39obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090040obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090041obj-$(CONFIG_RMOBILE) += rmobile/
Vikas Manocha9fa32b12014-11-18 10:42:22 -080042obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090043obj-$(CONFIG_ARCH_SUNXI) += sunxi/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090044obj-$(CONFIG_VF610) += vf610/
Stefan Boschd1611082020-07-10 19:07:37 +020045obj-$(CONFIG_ARCH_S5P4418) += s5p4418/
46obj-$(CONFIG_ARCH_NEXELL) += s5p-common/