blob: d85ddde430a669d79aa718e3ab0c1aa843af07d9 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
David Feng85fd5f12013-12-14 11:47:35 +08002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
David Feng85fd5f12013-12-14 11:47:35 +08005
6extra-y := start.o
7
8obj-y += cpu.o
Philipp Tomsich4fac4ea2017-07-28 17:38:42 +02009ifndef CONFIG_$(SPL_TPL_)TIMER
Andre Przywara7b169252018-04-12 04:24:46 +030010obj-$(CONFIG_SYS_ARCH_TIMER) += generic_timer.o
Philipp Tomsich4fac4ea2017-07-28 17:38:42 +020011endif
Peng Fan109e1a32020-12-28 20:13:13 +080012ifndef CONFIG_$(SPL_)SYS_DCACHE_OFF
David Feng85fd5f12013-12-14 11:47:35 +080013obj-y += cache_v8.o
Peng Fan109e1a32020-12-28 20:13:13 +080014obj-y += cache.o
15endif
Andre Przywara4eecab72018-07-25 00:57:01 +010016ifdef CONFIG_SPL_BUILD
17obj-$(CONFIG_ARMV8_SPL_EXCEPTION_VECTORS) += exceptions.o
18else
David Feng85fd5f12013-12-14 11:47:35 +080019obj-y += exceptions.o
Heinrich Schuchardtaa0b11b2019-01-08 18:13:06 +010020obj-y += exception_level.o
Andre Przywara4eecab72018-07-25 00:57:01 +010021endif
David Feng85fd5f12013-12-14 11:47:35 +080022obj-y += tlb.o
David Feng85fd5f12013-12-14 11:47:35 +080023obj-y += transition.o
Ang, Chee Hongb286d222019-02-12 00:27:03 -080024ifndef CONFIG_ARMV8_PSCI
Sergey Temerkhanov064949c2015-10-14 09:55:46 -070025obj-y += fwcall.o
Ang, Chee Hongb286d222019-02-12 00:27:03 -080026endif
Hou Zhiqiangdae02772016-06-28 20:18:16 +080027obj-y += cpu-dt.o
Masahiro Yamadae8ead732017-04-14 11:10:23 +090028obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
29
Masahiro Yamada2663cd62016-06-27 19:31:05 +090030ifndef CONFIG_SPL_BUILD
31obj-$(CONFIG_ARMV8_SPIN_TABLE) += spin_table.o spin_table_v8.o
Andre Przywarabbf99422016-08-23 22:19:30 +010032else
33obj-$(CONFIG_ARCH_SUNXI) += fel_utils.o
Masahiro Yamada2663cd62016-06-27 19:31:05 +090034endif
Hou Zhiqiang2498c232017-01-16 17:31:47 +080035obj-$(CONFIG_$(SPL_)ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_asm.o
Masahiro Yamada40e73b12014-11-13 12:28:40 +090036
Peng Fan617fc292020-05-05 20:28:41 +080037ifdef CONFIG_SPL_BUILD
38obj-$(CONFIG_SPL_RECOVER_DATA_SECTION) += spl_data.o
39endif
40
Mingkai Hu0e58b512015-10-26 19:47:50 +080041obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/
Eddy Petrișor5178dc12016-06-05 03:43:00 +030042obj-$(CONFIG_S32V234) += s32v234/
Peter Griffin0b491542015-07-30 18:55:20 +010043obj-$(CONFIG_TARGET_HIKEY) += hisilicon/
macro.wave.z@gmail.com6a66c9b2016-12-08 11:58:24 +080044obj-$(CONFIG_ARMV8_PSCI) += psci.o
Andre Przywaraae604a72017-01-02 11:48:27 +000045obj-$(CONFIG_ARCH_SUNXI) += lowlevel_init.o
Rayagonda Kokatanur13dc1c22020-07-15 22:48:56 +053046obj-$(CONFIG_TARGET_BCMNS3) += bcmns3/
Andrii Anisov355d1e42020-08-06 12:42:47 +030047obj-$(CONFIG_XEN) += xen/