1# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4#
5
6obj-y += cpu.o
7obj-y += dram_init.o
8obj-y += syscon.o
9obj-y += bsec.o
10
11ifdef CONFIG_SPL_BUILD
12obj-y += spl.o
13else
14obj-y += cmd_stm32prog/
15obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
16obj-$(CONFIG_ARMV7_PSCI) += psci.o
17obj-$(CONFIG_TFABOOT) += boot_params.o
18endif
19
20obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
21obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
22