blob: d86643db34a7afa308785ec32504a9553431eba8 [file] [log] [blame]
Steve Sakoman1ad21582010-06-08 13:07:46 -07001#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Steve Sakoman1ad21582010-06-08 13:07:46 -07006#
7
Tom Rini28eec372016-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 N2b189932015-12-24 16:08:04 +053014ifeq ($(CONFIG_TIMER),)
15obj-y += timer.o
16else
17ifdef CONFIG_SPL_BUILD
Masahiro Yamadad4495752013-10-17 17:34:48 +090018obj-y += timer.o
Mugunthan V N2b189932015-12-24 16:08:04 +053019endif
20endif
Masahiro Yamadad4495752013-10-17 17:34:48 +090021obj-y += utils.o
Steve Sakoman1ad21582010-06-08 13:07:46 -070022
Semen Protsenkoa8cb0222017-06-02 18:00:00 +030023obj-y += sysinfo-common.o
Sricharan9784f1f2011-11-15 09:49:58 -050024ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
Masahiro Yamadad4495752013-10-17 17:34:48 +090025obj-y += hwinit-common.o
26obj-y += clocks-common.o
27obj-y += emif-common.o
28obj-y += vc.o
29obj-y += abb.o
Chandan Nath77a73fe2012-01-09 20:38:59 +000030endif
31
Roger Quadros2b802c02013-11-11 16:56:39 +020032ifneq ($(CONFIG_OMAP54XX),)
Jean-Jacques Hiblotabaf3eb2017-04-07 13:42:01 +020033ifeq ($(CONFIG_DM_SCSI),)
Albert ARIBAUD1d17de62013-12-10 14:31:56 +010034obj-y += pipe3-phy.o
Roger Quadrosbae074b2013-11-11 16:56:41 +020035obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
Roger Quadros2b802c02013-11-11 16:56:39 +020036endif
Jean-Jacques Hiblotabaf3eb2017-04-07 13:42:01 +020037endif
Roger Quadros2b802c02013-11-11 16:56:39 +020038
Simon Glassaa5121f2014-06-02 22:04:48 -060039ifeq ($(CONFIG_SYS_DCACHE_OFF),)
40obj-y += omap-cache.o
41endif
42
Masahiro Yamadad4495752013-10-17 17:34:48 +090043obj-y += boot-common.o
Nishanth Menona816cc32015-03-09 17:12:05 -050044obj-y += lowlevel_init.o
Sricharan060cd222011-11-15 09:49:50 -050045
Masahiro Yamadad4495752013-10-17 17:34:48 +090046obj-y += mem-common.o
Andreas Dannenberg6469e1a2016-06-27 09:19:18 -050047
Andrew F. Davisbb80d4d2017-07-10 14:45:50 -050048obj-y += fdt-common.o
49
Andreas Dannenberg6469e1a2016-06-27 09:19:18 -050050obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o