diff options
author | Vincent Stehlé <vincent.stehle@arm.com> | 2021-03-10 15:33:30 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-27 13:59:36 +1300 |
commit | 619a81516d3c05a55f0ce5463dd38993c6e9adc2 (patch) | |
tree | cdff986f06bebdac3ce79a12bed718edc614ebcf /arch/sandbox | |
parent | 9c7335e4e68355a96bd5a411b2a5f85866823c58 (diff) | |
download | u-boot-619a81516d3c05a55f0ce5463dd38993c6e9adc2.tar.gz |
sandbox: dtsi: add rng
Having an rng in the sandbox is useful not only for tests but also for e.g.
UEFI. Therefore, copy the rng node from test.dts to sandbox.dtsi.
In the case of UEFI, it can then be verified with `efidebug dh' that a
"Random Number Generator" protocol is indeed present.
This also fixes the following `bootefi' error:
Missing RNG device for EFI_RNG_PROTOCOL
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/sandbox.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index 69d7d3019e..31db50db35 100644 --- a/arch/sandbox/dts/sandbox.dtsi +++ b/arch/sandbox/dts/sandbox.dtsi @@ -200,6 +200,10 @@ compatible = "sandbox,reset"; }; + rng { + compatible = "sandbox,sandbox-rng"; + }; + sound { compatible = "sandbox,sound"; cpu { |