]> Git Repo - J-u-boot.git/blobdiff - arch/arm/mach-stm32mp/Makefile
arm: stm32mp: spl: add bsec driver in SPL
[J-u-boot.git] / arch / arm / mach-stm32mp / Makefile
index a495c53be8ca0c60b9a3cd7ff0ce7eefcce11f41..c8aa24d489e3509a3893b5c8b15cc27d14e1785c 100644 (file)
@@ -1,11 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright (C) 2018, STMicroelectronics - All Rights Reserved
 #
 #
 # 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-y += cpu.o
 obj-y += dram_init.o
 obj-y += syscon.o
+obj-y += bsec.o
+
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+else
+obj-$(CONFIG_CMD_STM32PROG) += cmd_stm32prog/
+obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o
+obj-$(CONFIG_ARMV7_PSCI) += psci.o
+obj-$(CONFIG_TFABOOT) += boot_params.o
+endif
 
 
-obj-$(CONFIG_SPL_BUILD) += spl.o
+obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
+obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
This page took 0.025405 seconds and 4 git commands to generate.