blob: b228ed6a2e93bb34a8e5efc167b86e11e2a22220 [file] [log] [blame]
Dirk Behme0b02b182008-12-14 09:47:13 +01001#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Dirk Behme0b02b182008-12-14 09:47:13 +01006#
7
Masahiro Yamada4e1aa842013-10-17 17:34:48 +09008extra-y := start.o
Dirk Behme0b02b182008-12-14 09:47:13 +01009
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090010obj-y += cache_v7.o
Dirk Behme0b02b182008-12-14 09:47:13 +010011
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090012obj-y += cpu.o
13obj-y += syslib.o
Dirk Behme0b02b182008-12-14 09:47:13 +010014
Ian Campbellcba69ee2014-05-05 11:52:26 +010015ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_SUNXI),)
Masahiro Yamada3c5edd82013-10-17 20:38:55 +090016ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090017obj-y += lowlevel_init.o
Tom Rini41aebf82012-08-08 17:03:10 -070018endif
Masahiro Yamada3c5edd82013-10-17 20:38:55 +090019endif
Tom Rini41aebf82012-08-08 17:03:10 -070020
Andre Przywarad4296882013-09-19 18:06:45 +020021ifneq ($(CONFIG_ARMV7_NONSEC)$(CONFIG_ARMV7_VIRT),)
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090022obj-y += nonsec_virt.o
23obj-y += virt-v7.o
Marc Zyngiere771a3d2014-07-12 14:24:07 +010024obj-y += virt-dt.o
Andre Przywara45b940d2013-09-19 18:06:40 +020025endif
Masahiro Yamada37d82be2013-10-17 20:38:54 +090026
Marc Zyngierecf07a72014-07-12 14:24:04 +010027ifneq ($(CONFIG_ARMV7_PSCI),)
28obj-y += psci.o
29endif
30
Scott Brandenc4b45002014-08-11 13:58:22 -070031obj-$(CONFIG_IPROC) += iproc-common/
Darwin Rambob3134fc2014-02-11 11:06:33 -080032obj-$(CONFIG_KONA) += kona-common/
Masahiro Yamada3c5edd82013-10-17 20:38:55 +090033obj-$(CONFIG_OMAP_COMMON) += omap-common/
Vitaly Andrianov11bc7552014-04-04 13:16:49 -040034obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
Masahiro Yamada09ab61c2013-10-17 20:38:56 +090035
36ifneq (,$(filter s5pc1xx exynos,$(SOC)))
37obj-y += s5p-common/
38endif
Masahiro Yamada165ecd22014-11-13 12:28:40 +090039
Masahiro Yamada56f31e82014-11-13 12:28:42 +090040obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
41obj-$(if $(filter armada-xp,$(SOC)),y) += armada-xp/
Stephen Warrendb753562015-02-16 12:16:14 -070042obj-$(CONFIG_BCM2835) += bcm2835/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090043obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
44obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
45obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
46obj-$(CONFIG_ARCH_EXYNOS) += exynos/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090047obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
48obj-$(if $(filter mx5,$(SOC)),y) += mx5/
49obj-$(CONFIG_MX6) += mx6/
50obj-$(CONFIG_OMAP34XX) += omap3/
51obj-$(CONFIG_OMAP44XX) += omap4/
52obj-$(CONFIG_OMAP54XX) += omap5/
53obj-$(CONFIG_RMOBILE) += rmobile/
54obj-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx/
55obj-$(CONFIG_SOCFPGA) += socfpga/
Vikas Manocha9fa32b12014-11-18 10:42:22 -080056obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090057obj-$(CONFIG_ARCH_SUNXI) += sunxi/
Masahiro Yamada56f31e82014-11-13 12:28:42 +090058obj-$(CONFIG_U8500) += u8500/
59obj-$(CONFIG_ARCH_UNIPHIER) += uniphier/
60obj-$(CONFIG_VF610) += vf610/
61obj-$(CONFIG_ZYNQ) += zynq/