diff options
| author | Bin Meng <[email protected]> | 2018-10-15 02:21:26 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2018-11-14 09:16:28 -0800 |
| commit | 4f89d4947c9ecb2e859f70a6aed2e0c18d63fb54 (patch) | |
| tree | ca46eea8d5603ccef536cf296eb861f6d41226c4 /arch | |
| parent | 640aae0fb1f8b5741e62782cf06fc0f1beb0f612 (diff) | |
test: dm: virtio: Add test cases for virtio uclass
Now that we have a sandbox virtio transport driver, add some test
cases to test virtio uclass driver.
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/Kconfig | 5 | ||||
| -rw-r--r-- | arch/sandbox/dts/test.dts | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index e822a0b27e3..9fdd2f7e66a 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -110,6 +110,11 @@ config SANDBOX imply LIBAVB imply CMD_AVB imply UDP_FUNCTION_FASTBOOT + imply VIRTIO_MMIO + imply VIRTIO_PCI + imply VIRTIO_SANDBOX + imply VIRTIO_BLK + imply VIRTIO_NET config SH bool "SuperH architecture" diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 71d1b390225..6b54115f9b2 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -716,6 +716,14 @@ sandbox_tee { compatible = "sandbox,tee"; }; + + sandbox_virtio1 { + compatible = "sandbox,virtio1"; + }; + + sandbox_virtio2 { + compatible = "sandbox,virtio2"; + }; }; #include "sandbox_pmic.dtsi" |
