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)
commitacd3b27a6564b94ffd2d4cf0c2726816bc1bffc3
tree1a00c9819d0cfdde42cda01fb93c8ad84e184242
parent8df508ff3d4cfe8a2b7a706518692e194cc7f021
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