blob: aa3986dddb11d2a820dded8e3fa0150153ffb620 [file] [log] [blame]
Steve Sakomand34efc72010-06-08 13:07:46 -07001#
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+
Steve Sakomand34efc72010-06-08 13:07:46 -07006#
7
Tom Rini983e3702016-11-07 21:34:54 -05008obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
9obj-$(CONFIG_OMAP34XX) += omap3/
10obj-$(CONFIG_OMAP44XX) += omap4/
11obj-$(CONFIG_OMAP54XX) += omap5/
12
13obj-y += reset.o
Mugunthan V N28a6c012015-12-24 16:08:04 +053014ifeq ($(CONFIG_TIMER),)
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090015obj-y += timer.o
Mugunthan V N28a6c012015-12-24 16:08:04 +053016else
17ifdef CONFIG_SPL_BUILD
18obj-y += timer.o
19endif
20endif
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090021obj-y += utils.o
Steve Sakomand34efc72010-06-08 13:07:46 -070022
Sricharan2e5ba482011-11-15 09:49:58 -050023ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090024obj-y += hwinit-common.o
25obj-y += clocks-common.o
26obj-y += emif-common.o
27obj-y += vc.o
28obj-y += abb.o
Chandan Nath8a8f0842012-01-09 20:38:59 +000029endif
30
Roger Quadros9c4b64f2013-11-11 16:56:39 +020031ifneq ($(CONFIG_OMAP54XX),)
Jean-Jacques Hiblotfd138ca2017-04-07 13:42:01 +020032ifeq ($(CONFIG_DM_SCSI),)
Albert ARIBAUDf15ea6e2013-12-10 14:31:56 +010033obj-y += pipe3-phy.o
Roger Quadrosa087a7f2013-11-11 16:56:41 +020034obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
Roger Quadros9c4b64f2013-11-11 16:56:39 +020035endif
Jean-Jacques Hiblotfd138ca2017-04-07 13:42:01 +020036endif
Roger Quadros9c4b64f2013-11-11 16:56:39 +020037
Simon Glass7e4154a2014-06-02 22:04:48 -060038ifeq ($(CONFIG_SYS_DCACHE_OFF),)
39obj-y += omap-cache.o
40endif
41
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090042obj-y += boot-common.o
Nishanth Menon49ec9492015-03-09 17:12:05 -050043obj-y += lowlevel_init.o
Sricharance170be2011-11-15 09:49:50 -050044
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090045obj-y += mem-common.o
Andreas Dannenbergd86f7af2016-06-27 09:19:18 -050046
47obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o