aboutsummaryrefslogtreecommitdiff
path: root/plat/marvell/armada/a8k/common
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2020-07-26 17:49:54 +0300
committerKonstantin Porotchkin <kostap@marvell.com>2021-02-11 09:43:18 +0000
commit57660d9d794565f8f48194ba4ac85746f4f48736 (patch)
treecb911f5c068c5f206b4c32fa6eaf8cfe2e163bfe /plat/marvell/armada/a8k/common
parent6aa9f5d164e8f6e16a92f1dc1f8ced52307a7a3a (diff)
downloadarm-trusted-firmware-57660d9d794565f8f48194ba4ac85746f4f48736.tar.gz
plat/marvell/armada/a8k: support HW RNG by SMC
Add initialization for TRNG-IP-76 driver and support SMC call 0xC200FF11 used for reading HW RNG value by secondary bootloader software for KASLR support. Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Change-Id: I1d644f67457b28d347523f8a7bfc4eacc45cba68 Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/boot/atf/+/32688 Reviewed-by: Stefan Chulski <stefanc@marvell.com> Reviewed-by: Ofer Heifetz <oferh@marvell.com>
Diffstat (limited to 'plat/marvell/armada/a8k/common')
-rw-r--r--plat/marvell/armada/a8k/common/a8k_common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/marvell/armada/a8k/common/a8k_common.mk b/plat/marvell/armada/a8k/common/a8k_common.mk
index 63cfce22c..8a463eafe 100644
--- a/plat/marvell/armada/a8k/common/a8k_common.mk
+++ b/plat/marvell/armada/a8k/common/a8k_common.mk
@@ -114,7 +114,8 @@ MARVELL_DRV := $(MARVELL_DRV_BASE)/io_win.c \
$(MARVELL_DRV_BASE)/cache_llc.c \
$(MARVELL_DRV_BASE)/comphy/phy-comphy-cp110.c \
$(MARVELL_DRV_BASE)/mc_trustzone/mc_trustzone.c \
- $(MARVELL_DRV_BASE)/mg_conf_cm3/mg_conf_cm3.c
+ $(MARVELL_DRV_BASE)/mg_conf_cm3/mg_conf_cm3.c \
+ drivers/rambus/trng_ip_76.c
BL31_PORTING_SOURCES := $(BOARD_DIR)/board/marvell_plat_config.c