Merge git://git.denx.de/u-boot-marvell
[oweals/u-boot.git] / arch / arm / mach-stm32mp / Makefile
index 4620869b36db3cc2cc11089c63039709936abad2..f59ced5ee1b1a5904328b4f8b4ee24903675b55c 100644 (file)
@@ -1,10 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright (C) 2018, STMicroelectronics - All Rights Reserved
 #
-# SPDX-License-Identifier:     GPL-2.0+        BSD-3-Clause
-#
 
 obj-y += cpu.o
 obj-y += dram_init.o
+obj-y += syscon.o
 
-obj-$(CONFIG_SPL_BUILD) += spl.o
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+else
+obj-y += bsec.o
+endif
+obj-$(CONFIG_ARMV7_PSCI) += psci.o
+obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o