mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-24 08:01:21 +02:00
Introduce get_boot_device() to obtain the booting device. Make it also available for non SPL builds so u-boot can also know the device it is booting from. Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
29 lines
1.0 KiB
Makefile
29 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2017-2018 Texas Instruments Incorporated - https://www.ti.com/
|
|
# Lokesh Vutla <lokeshvutla@ti.com>
|
|
|
|
obj-$(CONFIG_ARM64) += arm64/
|
|
obj-$(CONFIG_CPU_V7R) += r5/
|
|
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
|
|
obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_fdt.o
|
|
obj-$(CONFIG_SOC_K3_J784S4) += j784s4_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_SOC_K3_J784S4) += j784s4_init.o
|
|
obj-$(CONFIG_SOC_K3_AM62P5) += am62p5_init.o
|
|
endif
|
|
obj-y += common.o security.o
|
|
obj-$(CONFIG_SOC_K3_AM625) += am62x/
|