aboutsummaryrefslogtreecommitdiff
path: root/include/plat/common/platform.h
diff options
context:
space:
mode:
authorJimmy Brisson <jimmy.brisson@arm.com>2020-06-22 14:18:42 -0500
committerManish Pandey <manish.pandey2@arm.com>2021-02-05 11:49:18 +0000
commit7dfb99118e89c41e4f2e9efb451dc7608326892c (patch)
tree412db47f7e686b409c21fd385a7ee20102384f4e /include/plat/common/platform.h
parentd5105d994c683194dc0310c81624a6837ebda14a (diff)
downloadtrusted-firmware-a-7dfb99118e89c41e4f2e9efb451dc7608326892c.tar.gz
Add TRNG Firmware Interface service
This adds the TRNG Firmware Interface Service to the standard service dispatcher. This includes a method for dispatching entropy requests to platforms and includes an entropy pool implementation to avoid dropping any entropy requested from the platform. Change-Id: I71cadb3cb377a507652eca9e0d68714c973026e9 Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/plat/common/platform.h')
-rw-r--r--include/plat/common/platform.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index ebcc855774..1def86ea7d 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -13,6 +13,9 @@
#if defined(SPD_spmd)
#include <services/spm_core_manifest.h>
#endif
+#if TRNG_SUPPORT
+#include "plat_trng.h"
+#endif
/*******************************************************************************
* Forward declarations