blob: fdb442773e3fcc2ca2442b3e0ca4e3525beb2f3e [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 Davis267bb9c2023-11-14 09:59:48 -06006obj-$(CONFIG_CPU_V7R) += r5/
Lokesh Vutla49297cf2018-08-27 15:57:13 +05307obj-$(CONFIG_ARM64) += arm64-mmu.o
Andrew F. Davis3c7ef1d2020-07-15 17:02:36 -04008obj-$(CONFIG_ARM64) += cache.o
Emanuele Ghidoli73bc1882023-07-14 17:23:08 +02009obj-$(CONFIG_OF_LIBFDT) += common_fdt.o
10ifeq ($(CONFIG_OF_LIBFDT)$(CONFIG_OF_SYSTEM_SETUP),yy)
11obj-$(CONFIG_SOC_K3_AM654) += am654_fdt.o
12obj-$(CONFIG_SOC_K3_J721E) += j721e_fdt.o
13obj-$(CONFIG_SOC_K3_J721S2) += j721s2_fdt.o
Emanuele Ghidolid7e0b072023-07-14 17:23:10 +020014obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o
Andrew Davise819fab2024-02-14 10:30:08 -060015obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_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
Andreas Dannenberg04e5ea82019-06-04 17:55:47 -050024endif
Andrew Davis2045cf12022-07-15 11:34:34 -050025obj-y += common.o security.o