blob: bba4f570dbb1b7f550d33763e004f07ddd7fd74c [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
David Feng0ae76532013-12-14 11:47:35 +08002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
David Feng0ae76532013-12-14 11:47:35 +08005
6extra-y := start.o
7
8obj-y += cpu.o
Philipp Tomsiche9e5d9d2017-07-28 17:38:42 +02009ifndef CONFIG_$(SPL_TPL_)TIMER
Andre Przywara7842b6a2018-04-12 04:24:46 +030010obj-$(CONFIG_SYS_ARCH_TIMER) += generic_timer.o
Philipp Tomsiche9e5d9d2017-07-28 17:38:42 +020011endif
Peng Fan0634b372020-12-28 20:13:13 +080012ifndef CONFIG_$(SPL_)SYS_DCACHE_OFF
David Feng0ae76532013-12-14 11:47:35 +080013obj-y += cache_v8.o
Peng Fan0634b372020-12-28 20:13:13 +080014obj-y += cache.o
15endif
Andre Przywara1416e2d2018-07-25 00:57:01 +010016ifdef CONFIG_SPL_BUILD
17obj-$(CONFIG_ARMV8_SPL_EXCEPTION_VECTORS) += exceptions.o
18else
David Feng0ae76532013-12-14 11:47:35 +080019obj-y += exceptions.o
Heinrich Schuchardtf6c6df72019-01-08 18:13:06 +010020obj-y += exception_level.o
Andre Przywara1416e2d2018-07-25 00:57:01 +010021endif
David Feng0ae76532013-12-14 11:47:35 +080022obj-y += tlb.o
David Feng0ae76532013-12-14 11:47:35 +080023obj-y += transition.o
Ang, Chee Hongfd50eac2019-02-12 00:27:03 -080024ifndef CONFIG_ARMV8_PSCI
Sergey Temerkhanova5b9fa32015-10-14 09:55:46 -070025obj-y += fwcall.o
Ang, Chee Hongfd50eac2019-02-12 00:27:03 -080026endif
Hou Zhiqiang45684ae2016-06-28 20:18:16 +080027obj-y += cpu-dt.o
Masahiro Yamadac54bcf62017-04-14 11:10:23 +090028obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
29
Masahiro Yamada6b6024e2016-06-27 19:31:05 +090030ifndef CONFIG_SPL_BUILD
31obj-$(CONFIG_ARMV8_SPIN_TABLE) += spin_table.o spin_table_v8.o
Andre Przywara0e4d5db2016-08-23 22:19:30 +010032else
33obj-$(CONFIG_ARCH_SUNXI) += fel_utils.o
Masahiro Yamada6b6024e2016-06-27 19:31:05 +090034endif
Hou Zhiqiang0897eb22017-01-16 17:31:47 +080035obj-$(CONFIG_$(SPL_)ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_asm.o
Masahiro Yamada165ecd22014-11-13 12:28:40 +090036
Peng Fan6aead232020-05-05 20:28:41 +080037ifdef CONFIG_SPL_BUILD
38obj-$(CONFIG_SPL_RECOVER_DATA_SECTION) += spl_data.o
39endif
40
Mingkai Hu9f3183d2015-10-26 19:47:50 +080041obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/
Peter Griffin8a954eb2015-07-30 18:55:20 +010042obj-$(CONFIG_TARGET_HIKEY) += hisilicon/
macro.wave.z@gmail.com14bf25d2016-12-08 11:58:24 +080043obj-$(CONFIG_ARMV8_PSCI) += psci.o
Rayagonda Kokatanur5d9302d2020-07-15 22:48:56 +053044obj-$(CONFIG_TARGET_BCMNS3) += bcmns3/
Andrii Anisov770a8ee2020-08-06 12:42:47 +030045obj-$(CONFIG_XEN) += xen/
Loic Poulain084d8e62022-06-01 20:26:29 +020046obj-$(CONFIG_ARMV8_CE_SHA1) += sha1_ce_glue.o sha1_ce_core.o
Loic Poulain0fcc1c72022-06-01 20:26:31 +020047obj-$(CONFIG_ARMV8_CE_SHA256) += sha256_ce_glue.o sha256_ce_core.o