blob: 1bd523329a4f8e68e8b018c75e65d2f88a1b091b [file] [log] [blame]
Lokesh Vutlaed0e6052018-08-27 15:57:09 +05301# SPDX-License-Identifier: GPL-2.0+
2#
Nishanth Menona94a4072023-11-01 15:56:03 -05003# Copyright (C) 2017-2018 Texas Instruments Incorporated - https://www.ti.com/
Lokesh Vutlaed0e6052018-08-27 15:57:09 +05304# Lokesh Vutla <lokeshvutla@ti.com>
5
Andrew Davisf7a1e8e2024-02-01 18:24:48 -06006obj-$(CONFIG_ARM64) += arm64/
Andrew Davisffda1082023-11-14 09:59:48 -06007obj-$(CONFIG_CPU_V7R) += r5/
Emanuele Ghidoli7b7288d2023-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 Ghidoli70aa5a92023-07-14 17:23:10 +020013obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o
Andrew Davis69a50852024-02-14 10:30:08 -060014obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_fdt.o
Apurva Nandan20d05542024-02-24 01:51:41 +053015obj-$(CONFIG_SOC_K3_J784S4) += j784s4_fdt.o
Emanuele Ghidoli7b7288d2023-07-14 17:23:08 +020016endif
Andreas Dannenberg6df87062019-06-04 17:55:47 -050017ifeq ($(CONFIG_SPL_BUILD),y)
Andrew Davis80b93bb2022-07-15 10:25:27 -050018obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
Andrew Davis46da1632022-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 Brattlofb511b372022-11-03 19:13:55 -050023obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_init.o
Apurva Nandan20d05542024-02-24 01:51:41 +053024obj-$(CONFIG_SOC_K3_J784S4) += j784s4_init.o
Bryan Brattlof7f883272024-03-12 15:20:24 -050025obj-$(CONFIG_SOC_K3_AM62P5) += am62p5_init.o
Andreas Dannenberg6df87062019-06-04 17:55:47 -050026endif
Andrew Davisa0379c62022-07-15 11:34:34 -050027obj-y += common.o security.o
Wadim Egorov2f9095e2024-04-03 15:59:10 +020028obj-$(CONFIG_SOC_K3_AM625) += am62x/