xref: /openbmc/u-boot/arch/arm/mach-omap2/Makefile (revision e8f80a5a)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
7obj-$(CONFIG_OMAP34XX) += omap3/
8obj-$(CONFIG_OMAP44XX) += omap4/
9obj-$(CONFIG_OMAP54XX) += omap5/
10
11obj-y	+= reset.o
12ifeq ($(CONFIG_TIMER),)
13obj-y	+= timer.o
14else
15ifdef CONFIG_SPL_BUILD
16obj-y	+= timer.o
17endif
18endif
19obj-y	+= utils.o
20
21obj-y	+= sysinfo-common.o
22ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
23obj-y	+= hwinit-common.o
24obj-y	+= clocks-common.o
25obj-y	+= emif-common.o
26obj-y	+= vc.o
27obj-y	+= abb.o
28endif
29
30ifneq ($(CONFIG_OMAP54XX),)
31ifeq ($(CONFIG_DM_SCSI),)
32obj-y	+= pipe3-phy.o
33obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
34endif
35endif
36
37ifeq ($(CONFIG_SYS_DCACHE_OFF),)
38obj-y	+= omap-cache.o
39endif
40
41obj-y	+= boot-common.o
42obj-y	+= lowlevel_init.o
43
44obj-y	+= mem-common.o
45
46obj-y	+= fdt-common.o
47
48obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o
49