public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org
Subject: [PATCH edk2-platforms 2/2] Platform/RaspberryPi3: add RNG driver
Date: Sat, 16 Feb 2019 11:34:22 +0100	[thread overview]
Message-ID: <20190216103422.10907-3-ard.biesheuvel@linaro.org> (raw)
In-Reply-To: <20190216103422.10907-1-ard.biesheuvel@linaro.org>

Expose the on-SoC RNG via the EFI_RNG_PROTOCOL, so that OS loaders that
need true entropy very early (such as the EFI stub in the arm64 Linux
kernel) can invoke it while still at boot time.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 Platform/RaspberryPi/RPi3/RPi3.dsc | 5 +++++
 Platform/RaspberryPi/RPi3/RPi3.fdf | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc
index 86f9d2e5e925..26c8a0d0400f 100644
--- a/Platform/RaspberryPi/RPi3/RPi3.dsc
+++ b/Platform/RaspberryPi/RPi3/RPi3.dsc
@@ -604,6 +604,11 @@ [Components.common]
   NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
   NetworkPkg/TcpDxe/TcpDxe.inf
 
+  #
+  # RNG
+  #
+  Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf
+
   #
   # UEFI application (Shell Embedded Boot Loader)
   #
diff --git a/Platform/RaspberryPi/RPi3/RPi3.fdf b/Platform/RaspberryPi/RPi3/RPi3.fdf
index 7dcbdfbd31a6..22813d453c22 100644
--- a/Platform/RaspberryPi/RPi3/RPi3.fdf
+++ b/Platform/RaspberryPi/RPi3/RPi3.fdf
@@ -278,6 +278,11 @@ [FV.FvMain]
   INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
   INF NetworkPkg/TcpDxe/TcpDxe.inf
 
+  #
+  # RNG
+  #
+  INF Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf
+
   #
   # SCSI Bus and Disk Driver
   #
-- 
2.20.1



  parent reply	other threads:[~2019-02-16 10:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-16 10:34 [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support Ard Biesheuvel
2019-02-16 10:34 ` [PATCH edk2-platforms 1/2] Silicon/Bcm2836: add random number generator driver Ard Biesheuvel
2019-02-16 10:34 ` Ard Biesheuvel [this message]
2019-02-19 14:44 ` [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support Leif Lindholm
2019-02-19 14:58   ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190216103422.10907-3-ard.biesheuvel@linaro.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox