Message ID | 20200512170707.367351-1-marex@denx.de |
---|---|
State | New |
Headers | show |
Series | [1/2,RFC] ARM: stm32: Make bsec available in SPL | expand |
Dear Marek, > From: Marek Vasut <marex at denx.de> > Sent: mardi 12 mai 2020 19:07 > > 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 <marex at denx.de> > Cc: Patrick Delaunay <patrick.delaunay at st.com> > Cc: Patrice Chotard <patrice.chotard at st.com> > --- > 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 See the sent patch: [1/9] arm: stm32mp: spl: add bsec driver in SPL http://patchwork.ozlabs.org/project/uboot/patch/20200421171123.1.I7a042a9ffbb5c2668034eddf5ace91271bb53c5f at changeid/ regards Patrick
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
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 <marex at denx.de> Cc: Patrick Delaunay <patrick.delaunay at st.com> Cc: Patrice Chotard <patrice.chotard at st.com> --- arch/arm/mach-stm32mp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)