blob: e59bd819006f6d5cc7485ae957ec64fe58cdb9ea [file] [log] [blame]
Patrick Delaunay19f58992018-05-17 15:24:05 +02001# SPDX-License-Identifier: GPL-2.0+
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01002#
3# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4#
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01005
6obj-y += cpu.o
7obj-y += dram_init.o
Patrick Delaunaye16750f2018-03-20 11:45:14 +01008obj-y += syscon.o
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01009
Patrick Delaunay19f58992018-05-17 15:24:05 +020010ifdef CONFIG_SPL_BUILD
11obj-y += spl.o
12else
13obj-y += bsec.o
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +020014ifndef CONFIG_STM32MP1_TRUSTED
15obj-$(CONFIG_SYSRESET) += cmd_poweroff.o
16endif
Patrick Delaunay19f58992018-05-17 15:24:05 +020017endif
Patrick Delaunay41c79772018-04-16 10:13:24 +020018obj-$(CONFIG_ARMV7_PSCI) += psci.o
Patrick Delaunaye8b85e82018-04-26 16:45:18 +020019obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
Patrick Delaunay05d36932019-07-05 17:20:14 +020020obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o