0e83e394d52b8203a85ca47c202fa4080fc0fd73
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / 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   += cache_v7.o cache_v7_asm.o
9
10 obj-y   += cpu.o cp15.o
11 obj-y   += syslib.o
12
13 obj-$(CONFIG_SYS_ARM_MPU) += mpu_v7r.o
14
15 ifneq ($(CONFIG_SPL_BUILD),y)
16 obj-$(CONFIG_EFI_LOADER) += sctlr.o
17 obj-$(CONFIG_ARMV7_NONSEC) += exception_level.o
18 endif
19
20 ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
21 obj-y   += lowlevel_init.o
22 endif
23
24 obj-$(CONFIG_ARM_SMCCC)         += smccc-call.o
25 obj-$(CONFIG_ARMV7_NONSEC)      += nonsec_virt.o virt-v7.o virt-dt.o
26 obj-$(CONFIG_ARMV7_PSCI)        += psci.o psci-common.o
27
28 obj-$(CONFIG_IPROC) += iproc-common/
29 obj-$(CONFIG_KONA) += kona-common/
30 obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
31
32 ifneq (,$(filter s5pc1xx exynos,$(SOC)))
33 obj-y += s5p-common/
34 endif
35
36 obj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
37 obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
38 obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
39 obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
40 obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
41 obj-$(CONFIG_RMOBILE) += rmobile/
42 obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
43 obj-$(CONFIG_ARCH_SUNXI) += sunxi/
44 obj-$(CONFIG_VF610) += vf610/
45 obj-$(CONFIG_ARCH_S5P4418) += s5p4418/
46 obj-$(CONFIG_ARCH_NEXELL) += s5p-common/