From: Vincent Stehlé Date: Wed, 10 Mar 2021 14:33:30 +0000 (+0100) Subject: sandbox: dtsi: add rng X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=619a81516d3c05a55f0ce5463dd38993c6e9adc2;p=u-boot.git 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é Cc: Simon Glass --- 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 {