mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
armv8: sec_firmware: return job ring status as true in TFABOOT
Returns job ring status as true in TFABOOT, as one job ring is always reserved. Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com> Signed-off-by: Pankit Garg <pankit.garg@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
339fb297d4
commit
2e17cb8a42
1 changed files with 4 additions and 0 deletions
|
@ -348,6 +348,10 @@ unsigned int sec_firmware_support_psci_version(void)
|
|||
*/
|
||||
bool sec_firmware_support_hwrng(void)
|
||||
{
|
||||
#ifdef CONFIG_TFABOOT
|
||||
/* return true as TFA has one job ring reserved */
|
||||
return true;
|
||||
#endif
|
||||
if (sec_firmware_addr & SEC_FIRMWARE_RUNNING) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue