]> git.dujemihanovic.xyz Git - u-boot.git/commit
qemu: arm: Remove platform specific function to get RNG device
authorSughosh Ganu <sughosh.ganu@linaro.org>
Sun, 13 Mar 2022 14:47:58 +0000 (20:17 +0530)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 31 Mar 2022 17:06:16 +0000 (19:06 +0200)
commit64437a05d255128392177984563e6a2128636834
tree019f5af0b8aeafb8cb942972bfb156c70dc3e98a
parent64b78f5721e65e96ea5a3d100d46b2e6fda722df
qemu: arm: Remove platform specific function to get RNG device

The QEMU platform has a function defined to get the random number
generator(RNG) device. However, the RNG device can be obtained simply
by searching for a device belonging to the RNG uclass. Remove the
superfluous platform function defined for the QEMU platform for
getting the RNG device.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/emulation/qemu-arm/qemu-arm.c