diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-15 02:21:00 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:27 -0800 |
commit | 8fb49b4c7a820461db7c11dce767f36fd6395cac (patch) | |
tree | 3289c27071a293689680da11b1d9614531d7cce9 /drivers/Kconfig | |
parent | b1893a9e0def4052e56513bfcee0a0eb95841f7f (diff) | |
download | u-boot-8fb49b4c7a820461db7c11dce767f36fd6395cac.tar.gz u-boot-8fb49b4c7a820461db7c11dce767f36fd6395cac.tar.bz2 u-boot-8fb49b4c7a820461db7c11dce767f36fd6395cac.zip |
dm: Add a new uclass driver for VirtIO transport devices
This adds a new virtio uclass driver for “virtio” [1] family of
devices that are are found in virtual environments like QEMU,
yet by design they look like physical devices to the guest.
The uclass driver provides child_pre_probe() and child_post_probe()
methods to do some common operations for virtio device drivers like
device and driver supported feature negotiation, etc.
[1] http://docs.oasis-open.org/virtio/virtio/v1.0/virtio-v1.0.pdf
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/Kconfig')
-rw-r--r-- | drivers/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig index 927a2b87f6..4ac823d962 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -112,6 +112,8 @@ source "drivers/usb/Kconfig" source "drivers/video/Kconfig" +source "drivers/virtio/Kconfig" + source "drivers/w1/Kconfig" source "drivers/w1-eeprom/Kconfig" |