aboutsummaryrefslogtreecommitdiff
path: root/test/dm/Makefile
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-05-16 10:41:40 +0000
committerTom Rini <trini@konsulko.com>2022-06-08 09:24:04 -0400
commitd036104a02995efe416dd5ada503408ae37b56a5 (patch)
tree7967ae792497f0618b8ec3e2c22a0721cbcdae29 /test/dm/Makefile
parent43937a4f5e411b3a82014fe0fa78ef4de90b11c2 (diff)
downloadu-boot-d036104a02995efe416dd5ada503408ae37b56a5.zip
u-boot-d036104a02995efe416dd5ada503408ae37b56a5.tar.gz
u-boot-d036104a02995efe416dd5ada503408ae37b56a5.tar.bz2
test: dm: virtio_rng: Test virtio-rng with faked deviceWIP/2022-06-08-virtio-harden-and-test-vring
Add a regression test for virtio-rng reading beyond the end of its buffer if the virtio device provides an invalid length. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r--test/dm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index 809f0f2..caea52f 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -110,6 +110,7 @@ obj-$(CONFIG_DM_VIDEO) += video.o
ifeq ($(CONFIG_VIRTIO_SANDBOX),y)
obj-y += virtio.o
obj-$(CONFIG_VIRTIO_RNG) += virtio_device.o
+obj-$(CONFIG_VIRTIO_RNG) += virtio_rng.o
endif
ifeq ($(CONFIG_WDT_GPIO)$(CONFIG_WDT_SANDBOX),yy)
obj-y += wdt.o