blob: 77450604b0fcb304763758f09aeeab340a435cc0 [file] [log] [blame]
Patrick Delaunay14d6a242018-05-17 15:24:05 +02001# SPDX-License-Identifier: GPL-2.0+
Patrick Delaunay85b53972018-03-12 10:46:10 +01002#
3# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4#
Patrick Delaunay85b53972018-03-12 10:46:10 +01005
6obj-y += cpu.o
7obj-y += dram_init.o
Patrick Delaunay089d4352018-03-20 11:45:14 +01008obj-y += syscon.o
Patrick Delaunay85b53972018-03-12 10:46:10 +01009
Patrick Delaunay14d6a242018-05-17 15:24:05 +020010ifdef CONFIG_SPL_BUILD
11obj-y += spl.o
12else
13obj-y += bsec.o
Patrick Delaunay109d13f2019-07-05 17:20:17 +020014obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
Patrick Delaunay4e8dbe22019-04-12 11:55:46 +020015ifndef CONFIG_STM32MP1_TRUSTED
16obj-$(CONFIG_SYSRESET) += cmd_poweroff.o
17endif
Patrick Delaunay14d6a242018-05-17 15:24:05 +020018endif
Patrick Delaunaye0207372018-04-16 10:13:24 +020019obj-$(CONFIG_ARMV7_PSCI) += psci.o
Patrick Delaunayaa785312018-04-26 16:45:18 +020020obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
Patrick Delaunaya6f03912019-07-05 17:20:14 +020021obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o