diff options
author | Jimmy Brisson <jimmy.brisson@arm.com> | 2020-06-22 14:18:42 -0500 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2021-02-05 11:49:18 +0000 |
commit | 7dfb99118e89c41e4f2e9efb451dc7608326892c (patch) | |
tree | 412db47f7e686b409c21fd385a7ee20102384f4e /bl31 | |
parent | d5105d994c683194dc0310c81624a6837ebda14a (diff) | |
download | arm-trusted-firmware-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 'bl31')
-rw-r--r-- | bl31/bl31.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk index e299fe139..2088533ac 100644 --- a/bl31/bl31.mk +++ b/bl31/bl31.mk @@ -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 # @@ -68,6 +68,11 @@ BL31_SOURCES += services/std_svc/sdei/sdei_dispatch.S \ services/std_svc/sdei/sdei_state.c endif +ifeq (${TRNG_SUPPORT},1) +BL31_SOURCES += services/std_svc/trng/trng_main.c \ + services/std_svc/trng/trng_entropy_pool.c +endif + ifeq (${ENABLE_SPE_FOR_LOWER_ELS},1) BL31_SOURCES += lib/extensions/spe/spe.c endif |