
18 Jul
2024
18 Jul
'24
3:41 p.m.
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