blob: c7ca0fdce5629ba8c9550376f618339d11a2c76b [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 Davis63c029b2022-07-15 10:25:26 -05006obj-$(CONFIG_SOC_K3_J721E) += j721e/ j7200/
7obj-$(CONFIG_SOC_K3_J721S2) += j721s2/
8obj-$(CONFIG_SOC_K3_AM625) += am62x/
Bryan Brattlofdaa39a62022-11-03 19:13:55 -05009obj-$(CONFIG_SOC_K3_AM62A7) += am62ax/
Lokesh Vutla49297cf2018-08-27 15:57:13 +053010obj-$(CONFIG_ARM64) += arm64-mmu.o
Lokesh Vutlaceadc3e2018-11-15 11:04:50 +053011obj-$(CONFIG_CPU_V7R) += r5_mpu.o lowlevel_init.o
Andrew F. Davis3c7ef1d2020-07-15 17:02:36 -040012obj-$(CONFIG_ARM64) += cache.o
Emanuele Ghidoli73bc1882023-07-14 17:23:08 +020013obj-$(CONFIG_OF_LIBFDT) += common_fdt.o
14ifeq ($(CONFIG_OF_LIBFDT)$(CONFIG_OF_SYSTEM_SETUP),yy)
15obj-$(CONFIG_SOC_K3_AM654) += am654_fdt.o
16obj-$(CONFIG_SOC_K3_J721E) += j721e_fdt.o
17obj-$(CONFIG_SOC_K3_J721S2) += j721s2_fdt.o
Emanuele Ghidolid7e0b072023-07-14 17:23:10 +020018obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o
Emanuele Ghidoli73bc1882023-07-14 17:23:08 +020019endif
Andreas Dannenberg04e5ea82019-06-04 17:55:47 -050020ifeq ($(CONFIG_SPL_BUILD),y)
Andrew Davis1be5e972022-07-15 10:25:27 -050021obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
Andrew Davis63c029b2022-07-15 10:25:26 -050022obj-$(CONFIG_SOC_K3_J721E) += j721e_init.o
23obj-$(CONFIG_SOC_K3_J721S2) += j721s2_init.o
24obj-$(CONFIG_SOC_K3_AM642) += am642_init.o
25obj-$(CONFIG_SOC_K3_AM625) += am625_init.o
Bryan Brattlofdaa39a62022-11-03 19:13:55 -050026obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_init.o
Andreas Dannenberg04e5ea82019-06-04 17:55:47 -050027obj-$(CONFIG_K3_LOAD_SYSFW) += sysfw-loader.o
28endif
Andrew Davis2045cf12022-07-15 11:34:34 -050029obj-y += common.o security.o