blob: bb01eab80e674d6754665ee7ecbb7a94f49c3067 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Steve Sakomand34efc72010-06-08 13:07:46 -07002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Steve Sakomand34efc72010-06-08 13:07:46 -07005
Tom Rini983e3702016-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 N28a6c012015-12-24 16:08:04 +053012ifeq ($(CONFIG_TIMER),)
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090013obj-y += timer.o
Mugunthan V N28a6c012015-12-24 16:08:04 +053014else
15ifdef CONFIG_SPL_BUILD
16obj-y += timer.o
17endif
18endif
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090019obj-y += utils.o
Steve Sakomand34efc72010-06-08 13:07:46 -070020
Semen Protsenko00bbe962017-06-02 18:00:00 +030021obj-y += sysinfo-common.o
Sricharan2e5ba482011-11-15 09:49:58 -050022ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
Masahiro Yamada4e1aa842013-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 Nath8a8f0842012-01-09 20:38:59 +000028endif
29
Roger Quadros9c4b64f2013-11-11 16:56:39 +020030ifneq ($(CONFIG_OMAP54XX),)
Jean-Jacques Hiblotfd138ca2017-04-07 13:42:01 +020031ifeq ($(CONFIG_DM_SCSI),)
Albert ARIBAUDf15ea6e2013-12-10 14:31:56 +010032obj-y += pipe3-phy.o
Roger Quadrosa087a7f2013-11-11 16:56:41 +020033obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
Roger Quadros9c4b64f2013-11-11 16:56:39 +020034endif
Jean-Jacques Hiblotfd138ca2017-04-07 13:42:01 +020035endif
Roger Quadros9c4b64f2013-11-11 16:56:39 +020036
Trevor Woerner10015022019-05-03 09:41:00 -040037ifeq ($(CONFIG_$(SPL_TPL_)SYS_DCACHE_OFF),)
Simon Glass7e4154a2014-06-02 22:04:48 -060038obj-y += omap-cache.o
39endif
40
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090041obj-y += boot-common.o
Nishanth Menon49ec9492015-03-09 17:12:05 -050042obj-y += lowlevel_init.o
Sricharance170be2011-11-15 09:49:50 -050043
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090044obj-y += mem-common.o
Andreas Dannenbergd86f7af2016-06-27 09:19:18 -050045
Andrew F. Davis03750232017-07-10 14:45:50 -050046obj-y += fdt-common.o
47
Andreas Dannenbergd86f7af2016-06-27 09:19:18 -050048obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o