Patrick Delaunay | 14d6a24 | 2018-05-17 15:24:05 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 2 | # |
| 3 | # Copyright (C) 2018, STMicroelectronics - All Rights Reserved |
| 4 | # |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 5 | |
| 6 | obj-y += cpu.o |
| 7 | obj-y += dram_init.o |
Patrick Delaunay | 089d435 | 2018-03-20 11:45:14 +0100 | [diff] [blame] | 8 | obj-y += syscon.o |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 9 | |
Patrick Delaunay | 14d6a24 | 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 | 4e8dbe2 | 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 | 14d6a24 | 2018-05-17 15:24:05 +0200 | [diff] [blame] | 17 | endif |
Patrick Delaunay | e020737 | 2018-04-16 10:13:24 +0200 | [diff] [blame] | 18 | obj-$(CONFIG_ARMV7_PSCI) += psci.o |
Patrick Delaunay | aa78531 | 2018-04-26 16:45:18 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o |
Patrick Delaunay | a6f0391 | 2019-07-05 17:20:14 +0200 | [diff] [blame^] | 20 | obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o |