From: Michael Walle Date: Wed, 3 Jun 2020 00:05:50 +0200 Subject: [PATCH 0/4] crypto/fsl: add RNG support Message-ID: <20200602220554.22477-1-michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de First, improve the compatibility on newer Era CAAMs. These introduced new version registers. Secondly, add RNG support for the CAAM. This way we get random number generator support for EFI for free and KASLR will work with ARM64 kernels booted with bootefi. Michael Walle (4): crypto/fsl: make SEC%u status line consistent crypto/fsl: export caam_get_era() crypto/fsl: support newer SEC modules crypto/fsl: add RNG support drivers/crypto/fsl/Kconfig | 11 +++++ drivers/crypto/fsl/Makefile | 1 + drivers/crypto/fsl/jobdesc.c | 9 ++++ drivers/crypto/fsl/jobdesc.h | 3 ++ drivers/crypto/fsl/jr.c | 23 ++++++++-- drivers/crypto/fsl/rng.c | 87 ++++++++++++++++++++++++++++++++++++ drivers/crypto/fsl/sec.c | 2 +- include/fsl_sec.h | 57 +++++++++++++++++++---- 8 files changed, 180 insertions(+), 13 deletions(-) create mode 100644 drivers/crypto/fsl/rng.c -- 2.20.1