]> git.baikalelectronics.ru Git - uboot.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)
commitec5b70cfcc92a61e6d4bd43325eedfd93146f82e
tree019f5af0b8aeafb8cb942972bfb156c70dc3e98a
parent8e0590f02597b74122571488126c4cadcc92582f
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