From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 12 May 2020 19:07:06 +0200 Subject: [PATCH 1/2] [RFC] ARM: stm32: Make bsec available in SPL Message-ID: <20200512170707.367351-1-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Make the bsec driver available both in SPL and in U-Boot proper to make it possible to read out the SoC type (A/C/D/F) and thus to determine the MPU PLL configuration (650/800 MHz). Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/mach-stm32mp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile index eee39c27c3..42c0206249 100644 --- a/arch/arm/mach-stm32mp/Makefile +++ b/arch/arm/mach-stm32mp/Makefile @@ -3,6 +3,7 @@ # Copyright (C) 2018, STMicroelectronics - All Rights Reserved # +obj-y += bsec.o obj-y += cpu.o obj-y += dram_init.o obj-y += syscon.o @@ -10,7 +11,6 @@ obj-y += syscon.o ifdef CONFIG_SPL_BUILD obj-y += spl.o else -obj-y += bsec.o obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o obj-$(CONFIG_ARMV7_PSCI) += psci.o endif -- 2.25.1