public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@nabladev.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Fabio Estevam <festevam@nabladev.com>,
	Heiko Schocher <hs@nabladev.com>,
	Gaurav Jain <gaurav.jain@nxp.com>, Peng Fan <peng.fan@nxp.com>,
	Tom Rini <trini@konsulko.com>
Subject: [PATCH v1] crypto: fsl: init caam_jr driver
Date: Tue, 24 Mar 2026 17:30:36 +0100	[thread overview]
Message-ID: <20260324163036.94787-1-hs@nabladev.com> (raw)

select ARCH_MISC_INIT Kconfig symbol when enabling
freescales crypto driver support, as the init of
the caam_jr driver is done in arch_misc_init and
not enabling ARCH_MISC_INIT leads in crashes, hangs
for example in hash calculations, as caam-jr driver
is not initialized.

Signed-off-by: Heiko Schocher <hs@nabladev.com>
Suggested-by: Fabio Estevam <festevam@nabladev.com>
---
Azure build:
https://dev.azure.com/hs0298/hs/_build/results?buildId=206&view=results

 drivers/crypto/fsl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig
index fe694f6022c..eb01c6cf700 100644
--- a/drivers/crypto/fsl/Kconfig
+++ b/drivers/crypto/fsl/Kconfig
@@ -3,6 +3,7 @@ if ARM || PPC
 config FSL_CAAM
 	bool "Freescale Crypto Driver Support"
 	select SHA_HW_ACCEL
+	select ARCH_MISC_INIT
 	# hw_sha1() under drivers/crypto, and needed with SHA_HW_ACCEL
 	select MISC if DM
 	imply SPL_CRYPTO if (ARM && SPL)
-- 
2.20.1

base-commit: eb95914b9f5886b7ca0eaa2dbcd8a66bb8e5f81a

             reply	other threads:[~2026-03-24 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-24 16:30 Heiko Schocher [this message]
2026-03-26  8:12 ` [PATCH v1] crypto: fsl: init caam_jr driver Peng Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260324163036.94787-1-hs@nabladev.com \
    --to=hs@nabladev.com \
    --cc=festevam@nabladev.com \
    --cc=gaurav.jain@nxp.com \
    --cc=peng.fan@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox