]> git.baikalelectronics.ru Git - uboot.git/commit
virtio: sandbox: Bind RNG rather than block device
authorAndrew Scull <ascull@google.com>
Mon, 16 May 2022 10:41:37 +0000 (10:41 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 13:24:04 +0000 (09:24 -0400)
commit1f8967834c611f8cadf605e0f0902dcfac9468d8
tree1a00c9819d0cfdde42cda01fb93c8ad84e184242
parent8c31fa4e917aef0a0d3c628c105daab7895b4765
virtio: sandbox: Bind RNG rather than block device

The virtio-rng driver is extremely simple, making it suitable for
testing more of the virtio uclass logic. Have the sandbox driver bind
the virtio-rng driver rather than the virtio-blk driver so it can be
used in tests.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/virtio/virtio_sandbox.c
test/dm/Makefile
test/dm/virtio_device.c