summaryrefslogtreecommitdiff
path: root/Platform/Marvell/Marvell.dec
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-04-28 20:28:56 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2017-10-25 16:53:24 +0100
commita5d6584ab7d5fc2b97e194579d11f4f1fbf3f650 (patch)
tree0788863a1b2ffb3657bc2ed3c146d8d0a1d01dee /Platform/Marvell/Marvell.dec
parent1727ed8024639f32f75c4eb23c4b5691a52aa922 (diff)
downloadedk2-platforms-a5d6584ab7d5fc2b97e194579d11f4f1fbf3f650.tar.xz
Marvell/Armada: Implement EFI_RNG_PROTOCOL driver for EIP76 TRNG
Add an implementation of EFI_RNG_PROTOCOL so that the OS loader has access to entropy for KASLR and other purposes (i.e., seeding the OS's entropy pool very early on). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/Marvell/Marvell.dec')
-rw-r--r--Platform/Marvell/Marvell.dec3
1 files changed, 3 insertions, 0 deletions
diff --git a/Platform/Marvell/Marvell.dec b/Platform/Marvell/Marvell.dec
index e7d7c2c098..78f5e536d4 100644
--- a/Platform/Marvell/Marvell.dec
+++ b/Platform/Marvell/Marvell.dec
@@ -195,6 +195,9 @@
#RTC
gMarvellTokenSpaceGuid.PcdRtcEnabled|{ 0x0 }|VOID*|0x40000052
+#TRNG
+ gMarvellTokenSpaceGuid.PcdEip76TrngBaseAddress|0x0|UINT64|0x50000053
+
[Protocols]
gMarvellEepromProtocolGuid = { 0x71954bda, 0x60d3, 0x4ef8, { 0x8e, 0x3c, 0x0e, 0x33, 0x9f, 0x3b, 0xc2, 0x2b }}
gMarvellMdioProtocolGuid = { 0x40010b03, 0x5f08, 0x496a, { 0xa2, 0x64, 0x10, 0x5e, 0x72, 0xd3, 0x71, 0xaa }}