2018-05-17 13:24:05 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2018-03-12 09:46:10 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-y += cpu.o
|
|
|
|
obj-y += dram_init.o
|
2018-03-20 10:45:14 +00:00
|
|
|
obj-y += syscon.o
|
2018-03-12 09:46:10 +00:00
|
|
|
|
2018-05-17 13:24:05 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
obj-y += spl.o
|
|
|
|
else
|
|
|
|
obj-y += bsec.o
|
2019-04-12 09:55:46 +00:00
|
|
|
ifndef CONFIG_STM32MP1_TRUSTED
|
|
|
|
obj-$(CONFIG_SYSRESET) += cmd_poweroff.o
|
|
|
|
endif
|
2018-05-17 13:24:05 +00:00
|
|
|
endif
|
2018-04-16 08:13:24 +00:00
|
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o
|
2018-04-26 14:45:18 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
|