virtio: rng: Add a random number generator(rng) driver
authorSughosh Ganu <sughosh.ganu@linaro.org>
Sun, 29 Dec 2019 10:00:14 +0000 (15:30 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:21 +0000 (18:08 +0100)
commit03018ea8fd09b3dffb63830e5c0e445de42f572a
treee07ef31da77f8003503d416b344494198d7990ab
parent4ee08eb115c3d22cfda415a8f6bc9e975595d204
virtio: rng: Add a random number generator(rng) driver

Add a driver for the virtio-rng device on the qemu platform. The
device uses pci as a transport medium. The driver can be enabled with
the following configs

CONFIG_VIRTIO
CONFIG_DM_RNG
CONFIG_VIRTIO_PCI
CONFIG_VIRTIO_RNG

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
drivers/virtio/Kconfig
drivers/virtio/Makefile
drivers/virtio/virtio-uclass.c
drivers/virtio/virtio_rng.c [new file with mode: 0644]
include/virtio.h