summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/sec_firmware.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-10 17:12:52 -0500
committerTom Rini <trini@konsulko.com>2018-12-10 17:19:59 -0500
commitd94604d558cda9f89722c967d6f8d6269a2db21c (patch)
tree2ccba6dac6920892a2075ab6d0f2b7e6d99c1cb5 /arch/arm/cpu/armv8/sec_firmware.c
parent2918f58faa565bcf89ac8c9e827a2e290ea96f55 (diff)
parent4909b89ec763f0c7030fa8474f9b6c5df866b01f (diff)
Merge tag 'fsl-qoriq-for-v2019.01-rc2' of git://git.denx.de/u-boot-fsl-qoriq
Add TFA boot flow for some Layerscape platforms Add support for lx2160a SoC [trini: Add a bunch of missing MAINTAINERS entries] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu/armv8/sec_firmware.c')
-rw-r--r--arch/arm/cpu/armv8/sec_firmware.c4
1 files changed, 4 insertions, 0 deletions
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;
}