]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: dtsi: add rng
authorVincent Stehlé <vincent.stehle@arm.com>
Wed, 10 Mar 2021 14:33:30 +0000 (15:33 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:36 +0000 (13:59 +1300)
commit619a81516d3c05a55f0ce5463dd38993c6e9adc2
treecdff986f06bebdac3ce79a12bed718edc614ebcf
parent9c7335e4e68355a96bd5a411b2a5f85866823c58
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>
arch/sandbox/dts/sandbox.dtsi