Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi
[oweals/u-boot.git] / arch / arm / mach-stm32mp / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4 #
5
6 obj-y += cpu.o
7 obj-y += dram_init.o
8 obj-y += syscon.o
9
10 ifdef CONFIG_SPL_BUILD
11 obj-y += spl.o
12 else
13 obj-y += bsec.o
14 obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
15 ifndef CONFIG_STM32MP1_TRUSTED
16 obj-$(CONFIG_SYSRESET) += cmd_poweroff.o
17 endif
18 endif
19 obj-$(CONFIG_ARMV7_PSCI) += psci.o
20 obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
21 obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o