[PATCH] driver: rng: Do not check ARM_SMCCC_TRNG_VERSION
Tom Rini
trini at konsulko.com
Thu Jul 18 15:41:35 CEST 2024
On Tue, 09 Jul 2024 17:23:09 +0100, Leo Yan wrote:
> As described in the document SMC Calling Convention (ARM DEN 0028 1.5 F),
> section 7 "Arm Architecture Calls", the SMC call SMCCC_ARCH_FEATURES is
> not expected to support the function ID ARM_SMCCC_TRNG_VERSION. Trusted
> Firmware-A follows up the specification in its implementation.
>
> This commit removes the invocation to avoid the failure - which is a
> wrong calling in U-boot. The later code invokes ARM_SMCCC_TRNG_VERSION
> for retrieving the TRNG version, except it can read back the version
> number, it also can be used to detect whether the TRNG is supported or
> not.
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list