[PATCH] smt32mp: Add dependencies on CMDLINE for command stm32key

Patrice CHOTARD patrice.chotard at foss.st.com
Mon Jan 15 16:45:39 CET 2024



On 1/15/24 14:30, Patrick Delaunay wrote:
> We cannot use stm32key commands without CONFIG_CMDLINE so add the
> required condition.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> 
>  arch/arm/mach-stm32mp/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
> index 5fc92d07fe6d..c6c89883f2b0 100644
> --- a/arch/arm/mach-stm32mp/Kconfig
> +++ b/arch/arm/mach-stm32mp/Kconfig
> @@ -144,6 +144,7 @@ config STM32_ECDSA_VERIFY
>  
>  config CMD_STM32KEY
>  	bool "command stm32key to fuse public key hash"
> +	depends on CMDLINE
>  	help
>  		fuse public key hash in corresponding fuse used to authenticate
>  		binary.
Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list