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>
This commit is contained in:
Vincent Stehlé 2021-03-10 15:33:30 +01:00 committed by Simon Glass
parent 9c7335e4e6
commit 619a81516d
1 changed files with 4 additions and 0 deletions

View File

@ -200,6 +200,10 @@
compatible = "sandbox,reset";
};
rng {
compatible = "sandbox,sandbox-rng";
};
sound {
compatible = "sandbox,sound";
cpu {