Message ID | 20220422150952.20587-6-alexandre.torgue@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add SCMI version of ST boards | expand |
Hello Alex, On 22.04.22 17:09, Alexandre Torgue wrote: > Select CONFIG_OPTEE for STM32MP15 and STM32MP13 by default. Final > activation will done thanks to device tree. > > Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> > > diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig > index 98145031586f..b322cf2a136f 100644 > --- a/arch/arm/mach-stm32/Kconfig > +++ b/arch/arm/mach-stm32/Kconfig > @@ -6,6 +6,8 @@ menuconfig ARCH_STM32 > select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 > select ARM_GIC if ARCH_MULTI_V7 > select ARM_PSCI if ARCH_MULTI_V7 > + select TEE if ARCH_MULTI_V7 > + select OPTEE if ARCH_MULTI_V7 Users may want to use OPTEE as a module without it being a SCMI provider or not use OPTEE at all. I'd prefer you drop this patch and leave it to users to configure their kernel appropriately. Cheers, Ahmad > select ARM_AMBA > select ARCH_HAS_RESET_CONTROLLER > select CLKSRC_STM32
Hi Ahmad, On 4/22/22 17:37, Ahmad Fatoum wrote: > Hello Alex, > > On 22.04.22 17:09, Alexandre Torgue wrote: >> Select CONFIG_OPTEE for STM32MP15 and STM32MP13 by default. Final >> activation will done thanks to device tree. >> >> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> >> >> diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig >> index 98145031586f..b322cf2a136f 100644 >> --- a/arch/arm/mach-stm32/Kconfig >> +++ b/arch/arm/mach-stm32/Kconfig >> @@ -6,6 +6,8 @@ menuconfig ARCH_STM32 >> select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 >> select ARM_GIC if ARCH_MULTI_V7 >> select ARM_PSCI if ARCH_MULTI_V7 >> + select TEE if ARCH_MULTI_V7 >> + select OPTEE if ARCH_MULTI_V7 > > Users may want to use OPTEE as a module without it being a SCMI provider > or not use OPTEE at all. I'd prefer you drop this patch and leave it > to users to configure their kernel appropriately. > Yes, I can understand, I did this one too quickly forgetting that every multi_v7config users will inherit of this config. thanks Alex > Cheers, > Ahmad > > >> select ARM_AMBA >> select ARCH_HAS_RESET_CONTROLLER >> select CLKSRC_STM32 > > > >
diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig index 98145031586f..b322cf2a136f 100644 --- a/arch/arm/mach-stm32/Kconfig +++ b/arch/arm/mach-stm32/Kconfig @@ -6,6 +6,8 @@ menuconfig ARCH_STM32 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 select ARM_GIC if ARCH_MULTI_V7 select ARM_PSCI if ARCH_MULTI_V7 + select TEE if ARCH_MULTI_V7 + select OPTEE if ARCH_MULTI_V7 select ARM_AMBA select ARCH_HAS_RESET_CONTROLLER select CLKSRC_STM32
Select CONFIG_OPTEE for STM32MP15 and STM32MP13 by default. Final activation will done thanks to device tree. Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>