Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # Copyright (C) 2018, Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
  4. # Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  5. #
  6. # VirtIO is a virtualization standard for network and disk device drivers
  7. # where just the guest's device driver "knows" it is running in a virtual
  8. # environment, and cooperates with the hypervisor. This enables guests to
  9. # get high performance network and disk operations, and gives most of the
  10. # performance benefits of paravirtualization. In the U-Boot case, the guest
  11. # is U-Boot itself, while the virtual environment are normally QEMU targets
  12. # like ARM, RISC-V and x86.
  13. #
  14. # See http://docs.oasis-open.org/virtio/virtio/v1.0/virtio-v1.0.pdf for
  15. # the VirtIO specification v1.0.
  16. menu "VirtIO Drivers"
  17. config VIRTIO
  18. bool
  19. help
  20. This option is selected by any driver which implements the virtio
  21. transport, such as CONFIG_VIRTIO_MMIO or CONFIG_VIRTIO_PCI.
  22. config VIRTIO_MMIO
  23. bool "Platform bus driver for memory mapped virtio devices"
  24. select VIRTIO
  25. help
  26. This driver provides support for memory mapped virtio
  27. platform device driver.
  28. config VIRTIO_PCI
  29. bool "PCI driver for virtio devices"
  30. depends on DM_PCI
  31. select VIRTIO
  32. help
  33. This driver provides support for virtio based paravirtual device
  34. drivers over PCI.
  35. config VIRTIO_NET
  36. bool "virtio net driver"
  37. depends on VIRTIO
  38. help
  39. This is the virtual net driver for virtio. It can be used with
  40. QEMU based targets.
  41. config VIRTIO_BLK
  42. bool "virtio block driver"
  43. depends on VIRTIO
  44. help
  45. This is the virtual block driver for virtio. It can be used with
  46. QEMU based targets.
  47. endmenu