Patrick Delaunay | 19f5899 | 2018-05-17 15:24:05 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 2 | # |
| 3 | # Copyright (C) 2018, STMicroelectronics - All Rights Reserved |
| 4 | # |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 5 | |
| 6 | obj-y += cpu.o |
| 7 | obj-y += dram_init.o |
Patrick Delaunay | e16750f | 2018-03-20 11:45:14 +0100 | [diff] [blame] | 8 | obj-y += syscon.o |
Patrick Delaunay | 2514c2d | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 9 | |
Patrick Delaunay | 19f5899 | 2018-05-17 15:24:05 +0200 | [diff] [blame] | 10 | ifdef CONFIG_SPL_BUILD |
| 11 | obj-y += spl.o |
| 12 | else |
| 13 | obj-y += bsec.o |
Patrick Delaunay | c16cc4f | 2019-04-12 11:55:46 +0200 | [diff] [blame] | 14 | ifndef CONFIG_STM32MP1_TRUSTED |
| 15 | obj-$(CONFIG_SYSRESET) += cmd_poweroff.o |
| 16 | endif |
Patrick Delaunay | 19f5899 | 2018-05-17 15:24:05 +0200 | [diff] [blame] | 17 | endif |
Patrick Delaunay | 41c7977 | 2018-04-16 10:13:24 +0200 | [diff] [blame] | 18 | obj-$(CONFIG_ARMV7_PSCI) += psci.o |
Patrick Delaunay | e8b85e8 | 2018-04-26 16:45:18 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o |