[PATCH] arm: mach-imx: loose enabling FSL_CAAM

Tom Rini trini at konsulko.com
Wed Aug 23 20:22:18 CEST 2023


On Wed, Aug 23, 2023 at 09:10:33PM +0300, Oleksandr Suvorov wrote:

> HAS_CAAM should be enabled for all architecture support it. Whereas
> FSL_CAAM enables a driver for a device which may be managed by
> another system, like OP-TEE. Allow disabling u-boot FSL CAAM driver
> on systems with CAAM to prevent access conflicts.
> 
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> ---
> 
>  arch/arm/mach-imx/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index d94b5828d0d..3c178fb435f 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -52,7 +52,7 @@ config USE_IMXIMG_PLUGIN
>  config IMX_HAB
>  	bool "Support i.MX HAB features"
>  	depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 || ARCH_IMX8M || ARCH_MX7ULP
> -	select FSL_CAAM if HAS_CAAM
> +	imply FSL_CAAM if HAS_CAAM
>  	imply CMD_DEKBLOB if HAS_CAAM
>  	help
>  	  This option enables the support for secure boot (HAB).

What's the use-case here? FSL_CAAM is one of those extremely long lived
symbols / IP blocks on NXP/Freescale parts and getting the Kconfig
logic such that (as best I could see) we didn't change in-tree behavior
here was tricky.

-- 
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/20230823/85a117e5/attachment.sig>


More information about the U-Boot mailing list