# SPDX-License-Identifier: GPL-2.0+ | |
# | |
# Copyright (C) 2018, STMicroelectronics - All Rights Reserved | |
# | |
obj-y += cpu.o | |
obj-y += dram_init.o | |
obj-y += syscon.o | |
ifdef CONFIG_SPL_BUILD | |
obj-y += spl.o | |
else | |
obj-y += bsec.o | |
obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o | |
obj-$(CONFIG_ARMV7_PSCI) += psci.o | |
obj-$(CONFIG_TFABOOT) += boot_params.o | |
endif | |
obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o | |
obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o |