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

2024-01-15 Thread Patrice CHOTARD



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 
> ---
> 
>  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 

Thanks
Patrice


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

2024-01-15 Thread Patrick Delaunay
We cannot use stm32key commands without CONFIG_CMDLINE so add the
required condition.

Signed-off-by: Patrick Delaunay 
---

 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.
-- 
2.25.1