[PATCH] ARM: armv7: add non-SPL enable for Cortex SMPEN

Tom Rini trini at konsulko.com
Thu Apr 21 20:01:29 CEST 2022


On Thu, Apr 21, 2022 at 01:52:02PM -0400, Ralph Siemsen wrote:

> Commit 2564fce7eea3 ("sunxi: move Cortex SMPEN setting into start.S")
> added SPL_ARMV7_SET_CORTEX_SMPEN to enable setting SMP bit. For
> platforms not using SPL boot, add the corresponding non-SPL config,
> so that CONFIG_IS_ENABLED(ARMV7_SET_CORTEX_SMPEN) works as expected.
> 
> Signed-off-by: Ralph Siemsen <ralph.siemsen at linaro.org>
> ---
> 
>  arch/arm/cpu/armv7/Kconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig
> index 2eeef3cba9..9f859b7c95 100644
> --- a/arch/arm/cpu/armv7/Kconfig
> +++ b/arch/arm/cpu/armv7/Kconfig
> @@ -76,6 +76,11 @@ config ARMV7_LPAE
>  	Say Y here to use the long descriptor page table format. This is
>  	required if U-Boot runs in HYP mode.
>  
> +config ARMV7_SET_CORTEX_SMPEN
> +	bool
> +	help
> +	  Enable the ARM Cortex ACTLR.SMP enable bit in U-boot.
> +
>  config SPL_ARMV7_SET_CORTEX_SMPEN
>  	bool
>  	help

OK, but this doesn't do anything.  Where are you select'ing the new
symbol from?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220421/10be0036/attachment.sig>


More information about the U-Boot mailing list