arm: Introduce ARCH_OMAP2
[oweals/u-boot.git] / arch / arm / cpu / armv7 / omap-common / Makefile
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
8 obj-y   := reset.o
9 ifeq ($(CONFIG_TIMER),)
10 obj-y   += timer.o
11 else
12 ifdef CONFIG_SPL_BUILD
13 obj-y   += timer.o
14 endif
15 endif
16 obj-y   += utils.o
17
18 ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
19 obj-y   += hwinit-common.o
20 obj-y   += clocks-common.o
21 obj-y   += emif-common.o
22 obj-y   += vc.o
23 obj-y   += abb.o
24 endif
25
26 ifneq ($(CONFIG_OMAP54XX),)
27 obj-y   += pipe3-phy.o
28 obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
29 endif
30
31 ifeq ($(CONFIG_SYS_DCACHE_OFF),)
32 obj-y   += omap-cache.o
33 endif
34
35 obj-y   += boot-common.o
36 obj-y   += lowlevel_init.o
37
38 obj-y   += mem-common.o
39
40 obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o