[PATCH master 1/2] remoteproc: stm32: fix typo in Kconfig symbol

Sascha Hauer sha at pengutronix.de
Mon Oct 23 02:49:59 PDT 2023


On Fri, Oct 20, 2023 at 03:37:43PM +0200, Ahmad Fatoum wrote:
> The Kconfig symbol for enabling support for the ARM Secure Monitor Call
> Calling Convention if CONFIG_ARM_SMCCC and not CONFIG_ARM_SMCC, but the
> latter is checked with IS_ENABLED() in the driver. Fix the typo.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  drivers/remoteproc/stm32_rproc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c
> index b6a62634842f..b2282f2fac5b 100644
> --- a/drivers/remoteproc/stm32_rproc.c
> +++ b/drivers/remoteproc/stm32_rproc.c
> @@ -56,7 +56,7 @@ static int stm32_rproc_set_hold_boot(struct rproc *rproc, bool hold)
>  
>  	val = hold ? HOLD_BOOT : RELEASE_BOOT;
>  
> -	if (IS_ENABLED(CONFIG_ARM_SMCC) && ddata->secured_soc) {
> +	if (IS_ENABLED(CONFIG_ARM_SMCCC) && ddata->secured_soc) {
>  		arm_smccc_smc(STM32_SMC_RCC, STM32_SMC_REG_WRITE,
>  			      hold_boot->reg, val, 0, 0, 0, 0, &smc_res);
>  		err = smc_res.a0;
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list