blob: 3101f57d3248cb1688ef364b04003bd757efd940 [file] [log] [blame]
Lokesh Vutla32886442018-08-27 15:57:09 +05301# SPDX-License-Identifier: GPL-2.0+
2#
Nishanth Menoneaa39c62023-11-01 15:56:03 -05003# Copyright (C) 2017-2018 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutla32886442018-08-27 15:57:09 +05304# Lokesh Vutla <lokeshvutla@ti.com>
5
Andrew Davisf63036b2024-02-01 18:24:48 -06006obj-$(CONFIG_ARM64) += arm64/
Andrew Davis267bb9c2023-11-14 09:59:48 -06007obj-$(CONFIG_CPU_V7R) += r5/
Emanuele Ghidoli73bc1882023-07-14 17:23:08 +02008obj-$(CONFIG_OF_LIBFDT) += common_fdt.o
9ifeq ($(CONFIG_OF_LIBFDT)$(CONFIG_OF_SYSTEM_SETUP),yy)
10obj-$(CONFIG_SOC_K3_AM654) += am654_fdt.o
11obj-$(CONFIG_SOC_K3_J721E) += j721e_fdt.o
12obj-$(CONFIG_SOC_K3_J721S2) += j721s2_fdt.o
Emanuele Ghidolid7e0b072023-07-14 17:23:10 +020013obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o
Andrew Davise819fab2024-02-14 10:30:08 -060014obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_fdt.o
Apurva Nandan67ebc302024-02-24 01:51:41 +053015obj-$(CONFIG_SOC_K3_J784S4) += j784s4_fdt.o
Emanuele Ghidoli73bc1882023-07-14 17:23:08 +020016endif
Andreas Dannenberg04e5ea82019-06-04 17:55:47 -050017ifeq ($(CONFIG_SPL_BUILD),y)
Andrew Davis1be5e972022-07-15 10:25:27 -050018obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
Andrew Davis63c029b2022-07-15 10:25:26 -050019obj-$(CONFIG_SOC_K3_J721E) += j721e_init.o
20obj-$(CONFIG_SOC_K3_J721S2) += j721s2_init.o
21obj-$(CONFIG_SOC_K3_AM642) += am642_init.o
22obj-$(CONFIG_SOC_K3_AM625) += am625_init.o
Bryan Brattlofdaa39a62022-11-03 19:13:55 -050023obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_init.o
Apurva Nandan67ebc302024-02-24 01:51:41 +053024obj-$(CONFIG_SOC_K3_J784S4) += j784s4_init.o
Bryan Brattlofa4d5cc22024-03-12 15:20:24 -050025obj-$(CONFIG_SOC_K3_AM62P5) += am62p5_init.o
Andreas Dannenberg04e5ea82019-06-04 17:55:47 -050026endif
Andrew Davis2045cf12022-07-15 11:34:34 -050027obj-y += common.o security.o
Wadim Egorov3eab2062024-04-03 15:59:10 +020028obj-$(CONFIG_SOC_K3_AM625) += am62x/
Wadim Egorov6cf1d9d2024-04-24 14:43:20 +020029obj-$(CONFIG_SOC_K3_AM642) += am64x/