xref: /openbmc/u-boot/arch/arm/cpu/armv7/Makefile (revision 1021af4d)
1#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8extra-y	:= start.o
9
10obj-y	+= cache_v7.o
11
12obj-y	+= cpu.o
13obj-y	+= syslib.o
14
15ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI),)
16ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
17obj-y	+= lowlevel_init.o
18endif
19endif
20
21ifneq ($(CONFIG_ARMV7_NONSEC)$(CONFIG_ARMV7_VIRT),)
22obj-y	+= nonsec_virt.o
23obj-y	+= virt-v7.o
24obj-y	+= virt-dt.o
25endif
26
27ifneq ($(CONFIG_ARMV7_PSCI),)
28obj-y	+= psci.o
29endif
30
31obj-$(CONFIG_IPROC) += iproc-common/
32obj-$(CONFIG_KONA) += kona-common/
33obj-$(CONFIG_OMAP_COMMON) += omap-common/
34obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
35obj-$(CONFIG_TEGRA) += tegra-common/
36
37ifneq (,$(filter s5pc1xx exynos,$(SOC)))
38obj-y += s5p-common/
39endif
40
41obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
42obj-$(if $(filter armada-xp,$(SOC)),y) += armada-xp/
43obj-$(CONFIG_AT91FAMILY) += at91/
44obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
45obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
46obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
47obj-$(CONFIG_ARCH_EXYNOS) += exynos/
48obj-$(CONFIG_ARCH_HIGHBANK) += highbank/
49obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
50obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
51obj-$(if $(filter mx5,$(SOC)),y) += mx5/
52obj-$(CONFIG_MX6) += mx6/
53obj-$(CONFIG_OMAP34XX) += omap3/
54obj-$(CONFIG_OMAP44XX) += omap4/
55obj-$(CONFIG_OMAP54XX) += omap5/
56obj-$(CONFIG_RMOBILE) += rmobile/
57obj-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx/
58obj-$(CONFIG_SOCFPGA) += socfpga/
59obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
60obj-$(CONFIG_ARCH_SUNXI) += sunxi/
61obj-$(CONFIG_TEGRA20) += tegra20/
62obj-$(CONFIG_U8500) += u8500/
63obj-$(CONFIG_ARCH_UNIPHIER) += uniphier/
64obj-$(CONFIG_VF610) += vf610/
65obj-$(CONFIG_ZYNQ) += zynq/
66