[U-Boot] [PATCH v5 16/27] armv8: sec_firmware: return job ring status as true in TFABOOT
Rajesh Bhagat
rajesh.bhagat at nxp.com
Sat Oct 27 13:15:56 UTC 2018
From: Pankit Garg <pankit.garg at nxp.com>
Returns job ring status as true in TFABOOT, as one job ring is always
reserved.
Signed-off-by: Ruchika Gupta <ruchika.gupta at nxp.com>
Signed-off-by: Pankit Garg <pankit.garg at nxp.com>
---
Change in v5: None
Change in v4: None
Change in v3: None
Change in v2: None
arch/arm/cpu/armv8/sec_firmware.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/armv8/sec_firmware.c b/arch/arm/cpu/armv8/sec_firmware.c
index a13c92e246..8dc0ac9266 100644
--- a/arch/arm/cpu/armv8/sec_firmware.c
+++ b/arch/arm/cpu/armv8/sec_firmware.c
@@ -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;
}
--
2.17.1
More information about the U-Boot
mailing list