mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master 1/2] remoteproc: stm32: fix typo in Kconfig symbol
@ 2023-10-20 13:37 Ahmad Fatoum
  2023-10-20 13:37 ` [PATCH master 2/2] remoteproc: stm32: fix breakage after DT sync with upstream Ahmad Fatoum
  2023-10-23  9:49 ` [PATCH master 1/2] remoteproc: stm32: fix typo in Kconfig symbol Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2023-10-20 13:37 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@pengutronix.de>
---
 drivers/remoteproc/stm32_rproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-23  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20 13:37 [PATCH master 1/2] remoteproc: stm32: fix typo in Kconfig symbol Ahmad Fatoum
2023-10-20 13:37 ` [PATCH master 2/2] remoteproc: stm32: fix breakage after DT sync with upstream Ahmad Fatoum
2023-10-23  9:49 ` [PATCH master 1/2] remoteproc: stm32: fix typo in Kconfig symbol Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox