Merge branch 'master' of git://git.denx.de/u-boot-samsung
[platform/kernel/u-boot.git] / arch / arm / mach-omap2 / 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-$(if $(filter am33xx,$(SOC)),y) += am33xx/
9 obj-$(CONFIG_OMAP34XX) += omap3/
10 obj-$(CONFIG_OMAP44XX) += omap4/
11 obj-$(CONFIG_OMAP54XX) += omap5/
12
13 obj-y   += reset.o
14 ifeq ($(CONFIG_TIMER),)
15 obj-y   += timer.o
16 else
17 ifdef CONFIG_SPL_BUILD
18 obj-y   += timer.o
19 endif
20 endif
21 obj-y   += utils.o
22
23 obj-y   += sysinfo-common.o
24 ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
25 obj-y   += hwinit-common.o
26 obj-y   += clocks-common.o
27 obj-y   += emif-common.o
28 obj-y   += vc.o
29 obj-y   += abb.o
30 endif
31
32 ifneq ($(CONFIG_OMAP54XX),)
33 ifeq ($(CONFIG_DM_SCSI),)
34 obj-y   += pipe3-phy.o
35 obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
36 endif
37 endif
38
39 ifeq ($(CONFIG_SYS_DCACHE_OFF),)
40 obj-y   += omap-cache.o
41 endif
42
43 obj-y   += boot-common.o
44 obj-y   += lowlevel_init.o
45
46 obj-y   += mem-common.o
47
48 obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o