mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 14:53:06 +00:00
70aa5a94d4
AM62x SoC is available in multiple variant: - CPU cores (Cortex-A) AM62x1 (1 core), AM62x2 (2 cores), AM62x4 (4 cores) - GPU AM625x with GPU, AM623x without GPU - PRU (Programmable RT unit) can be present or not on AM62x2/AM62x4 Remove the relevant FDT nodes by reading the actual configuration from the SoC registers, with that change is possible to have a single dts/dtb file handling the different variant at runtime. While removing GPU node and CPU nodes also the watchdog node in the same Module Domain is removed. A similar approach is implemented for example on i.MX8 and STM32MP1 SoC. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
29 lines
1 KiB
Makefile
29 lines
1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
# Lokesh Vutla <lokeshvutla@ti.com>
|
|
|
|
obj-$(CONFIG_SOC_K3_J721E) += j721e/ j7200/
|
|
obj-$(CONFIG_SOC_K3_J721S2) += j721s2/
|
|
obj-$(CONFIG_SOC_K3_AM625) += am62x/
|
|
obj-$(CONFIG_SOC_K3_AM62A7) += am62ax/
|
|
obj-$(CONFIG_ARM64) += arm64-mmu.o
|
|
obj-$(CONFIG_CPU_V7R) += r5_mpu.o lowlevel_init.o
|
|
obj-$(CONFIG_ARM64) += cache.o
|
|
obj-$(CONFIG_OF_LIBFDT) += common_fdt.o
|
|
ifeq ($(CONFIG_OF_LIBFDT)$(CONFIG_OF_SYSTEM_SETUP),yy)
|
|
obj-$(CONFIG_SOC_K3_AM654) += am654_fdt.o
|
|
obj-$(CONFIG_SOC_K3_J721E) += j721e_fdt.o
|
|
obj-$(CONFIG_SOC_K3_J721S2) += j721s2_fdt.o
|
|
obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o
|
|
endif
|
|
ifeq ($(CONFIG_SPL_BUILD),y)
|
|
obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
|
|
obj-$(CONFIG_SOC_K3_J721E) += j721e_init.o
|
|
obj-$(CONFIG_SOC_K3_J721S2) += j721s2_init.o
|
|
obj-$(CONFIG_SOC_K3_AM642) += am642_init.o
|
|
obj-$(CONFIG_SOC_K3_AM625) += am625_init.o
|
|
obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_init.o
|
|
obj-$(CONFIG_K3_LOAD_SYSFW) += sysfw-loader.o
|
|
endif
|
|
obj-y += common.o security.o
|