blob: 151bdf6ebc98ecccee4bb6d9911014fd417cd55d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Dirk Behme0b02b182008-12-14 09:47:13 +01002#
3# (C) Copyright 2000-2003
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Dirk Behme0b02b182008-12-14 09:47:13 +01005
Siarhei Siamashka7584f2e2017-03-06 03:16:52 +02006# If clock.c is compiled for Thumb2, then it fails on OMAP3530
7CFLAGS_clock.o += -marm
8
Masahiro Yamada4e1aa842013-10-17 17:34:48 +09009obj-y := lowlevel_init.o
Dirk Behme0b02b182008-12-14 09:47:13 +010010
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090011obj-y += board.o
Marek BehĂșnbaa977b2021-05-20 13:24:19 +020012CFLAGS_REMOVE_board.o := $(LTO_CFLAGS)
Paul Kocialkowskicfac3752015-07-15 16:02:24 +020013obj-y += boot.o
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090014obj-y += clock.o
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090015obj-y += sys_info.o
Semen Protsenko00bbe962017-06-02 18:00:00 +030016obj-y += prcm-regs.o
17obj-y += hw_data.o
Tom Rini4e647e12011-11-18 12:48:07 +000018ifdef CONFIG_SPL_BUILD
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090019obj-$(CONFIG_SPL_OMAP3_ID_NAND) += spl_id_nand.o
Tom Rini4e647e12011-11-18 12:48:07 +000020endif
Dirk Behme0b02b182008-12-14 09:47:13 +010021
Masahiro Yamada4e1aa842013-10-17 17:34:48 +090022obj-$(CONFIG_DRIVER_TI_EMAC) += emac.o
23obj-$(CONFIG_EMIF4) += emif4.o
24obj-$(CONFIG_SDRC) += sdrc.o
25obj-$(CONFIG_USB_MUSB_AM35X) += am35x_musb.o