Merge tag 'efi-2020-07-rc6' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[oweals/u-boot.git] / arch / arm / cpu / armv8 / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2000-2003
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6 extra-y := start.o
7
8 obj-y   += cpu.o
9 ifndef CONFIG_$(SPL_TPL_)TIMER
10 obj-$(CONFIG_SYS_ARCH_TIMER) += generic_timer.o
11 endif
12 obj-y   += cache_v8.o
13 ifdef CONFIG_SPL_BUILD
14 obj-$(CONFIG_ARMV8_SPL_EXCEPTION_VECTORS) += exceptions.o
15 else
16 obj-y   += exceptions.o
17 obj-y   += exception_level.o
18 endif
19 obj-y   += cache.o
20 obj-y   += tlb.o
21 obj-y   += transition.o
22 ifndef CONFIG_ARMV8_PSCI
23 obj-y   += fwcall.o
24 endif
25 obj-y   += cpu-dt.o
26 obj-$(CONFIG_ARM_SMCCC)         += smccc-call.o
27
28 ifndef CONFIG_SPL_BUILD
29 obj-$(CONFIG_ARMV8_SPIN_TABLE) += spin_table.o spin_table_v8.o
30 endif
31 obj-$(CONFIG_$(SPL_)ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_asm.o
32
33 ifdef CONFIG_SPL_BUILD
34 obj-$(CONFIG_SPL_RECOVER_DATA_SECTION) += spl_data.o
35 endif
36
37 obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/
38 obj-$(CONFIG_S32V234) += s32v234/
39 obj-$(CONFIG_TARGET_HIKEY) += hisilicon/
40 obj-$(CONFIG_ARMV8_PSCI) += psci.o
41 obj-$(CONFIG_ARCH_SUNXI) += lowlevel_init.o