summaryrefslogtreecommitdiff
path: root/include/plat/common
diff options
context:
space:
mode:
authorJayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>2022-10-11 17:16:07 +0100
committerJayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>2022-11-08 13:48:18 +0000
commit0b22e59103f4c86c0be0182916fba6646e706a0f (patch)
treea422d85c6e4bb1cc0c3908e784dfeadf02edf157 /include/plat/common
parent6325f661c25c4fac5db9d57f92f71170b5eab567 (diff)
downloadarm-trusted-firmware-0b22e59103f4c86c0be0182916fba6646e706a0f.tar.gz
refactor(trng): cleanup the existing TRNG support
This patch adds the following changes to complete the existing TRNG implementation: 1. Adds a feature specific scope for buildlog generation. 2. Updates the docs on the build flag "TRNG_SUPPORT" and its values. 3. Makefile update and improves the existing comments at few sections for better understanding of the underlying logic. Change-Id: I3f72f0ccd5c94005a2df87158cf23199d2160d37 Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Diffstat (limited to 'include/plat/common')
-rw-r--r--include/plat/common/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index c90441c67..c7b7908b5 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -16,10 +16,10 @@
#if ENABLE_RME
#include <services/rmm_core_manifest.h>
#endif
+#include <drivers/fwu/fwu_metadata.h>
#if TRNG_SUPPORT
#include "plat_trng.h"
-#endif
-#include <drivers/fwu/fwu_metadata.h>
+#endif /* TRNG_SUPPORT */
#if DRTM_SUPPORT
#include "plat_drtm.h"
#endif /* DRTM_SUPPORT */