blob: 8c10c694dffbea33e1165cf863fa0bbe6480d56f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Steve Sakoman1ad21582010-06-08 13:07:46 -07002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Steve Sakoman1ad21582010-06-08 13:07:46 -07005
Tom Rini28eec372016-11-07 21:34:54 -05006obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
7obj-$(CONFIG_OMAP34XX) += omap3/
8obj-$(CONFIG_OMAP44XX) += omap4/
9obj-$(CONFIG_OMAP54XX) += omap5/
10
11obj-y += reset.o
Mugunthan V N2b189932015-12-24 16:08:04 +053012ifeq ($(CONFIG_TIMER),)
13obj-y += timer.o
14else
15ifdef CONFIG_SPL_BUILD
Masahiro Yamadad4495752013-10-17 17:34:48 +090016obj-y += timer.o
Mugunthan V N2b189932015-12-24 16:08:04 +053017endif
18endif
Masahiro Yamadad4495752013-10-17 17:34:48 +090019obj-y += utils.o
Steve Sakoman1ad21582010-06-08 13:07:46 -070020
Semen Protsenkoa8cb0222017-06-02 18:00:00 +030021obj-y += sysinfo-common.o
Sricharan9784f1f2011-11-15 09:49:58 -050022ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
Masahiro Yamadad4495752013-10-17 17:34:48 +090023obj-y += hwinit-common.o
24obj-y += clocks-common.o
25obj-y += emif-common.o
26obj-y += vc.o
27obj-y += abb.o
Chandan Nath77a73fe2012-01-09 20:38:59 +000028endif
29
Trevor Woerner43ec7e02019-05-03 09:41:00 -040030ifeq ($(CONFIG_$(SPL_TPL_)SYS_DCACHE_OFF),)
Simon Glassaa5121f2014-06-02 22:04:48 -060031obj-y += omap-cache.o
32endif
33
Masahiro Yamadad4495752013-10-17 17:34:48 +090034obj-y += boot-common.o
Nishanth Menona816cc32015-03-09 17:12:05 -050035obj-y += lowlevel_init.o
Sricharan060cd222011-11-15 09:49:50 -050036
Masahiro Yamadad4495752013-10-17 17:34:48 +090037obj-y += mem-common.o
Andreas Dannenberg6469e1a2016-06-27 09:19:18 -050038
Andrew F. Davisbb80d4d2017-07-10 14:45:50 -050039obj-y += fdt-common.o
40
Andreas Dannenberg6469e1a2016-06-27 09:19:18 -050041obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o