Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 PCI
  31. select VIRTIO
  32. help
  33. This driver provides support for virtio based paravirtual device
  34. drivers over PCI.
  35. config VIRTIO_PCI_LEGACY
  36. bool "PCI driver for legacy virtio devices"
  37. depends on PCI
  38. select VIRTIO
  39. default VIRTIO_PCI
  40. help
  41. This driver provides support for legacy virtio based paravirtual
  42. device drivers over PCI.
  43. config VIRTIO_SANDBOX
  44. bool "Sandbox driver for virtio devices"
  45. depends on SANDBOX
  46. select VIRTIO
  47. help
  48. This driver provides support for Sandbox implementation of virtio
  49. transport driver which is used for testing purpose only.
  50. config VIRTIO_NET
  51. bool "virtio net driver"
  52. depends on VIRTIO
  53. help
  54. This is the virtual net driver for virtio. It can be used with
  55. QEMU based targets.
  56. config VIRTIO_BLK
  57. bool "virtio block driver"
  58. depends on VIRTIO
  59. help
  60. This is the virtual block driver for virtio. It can be used with
  61. QEMU based targets.
  62. config VIRTIO_RNG
  63. bool "virtio rng driver"
  64. depends on DM_RNG
  65. depends on VIRTIO
  66. default y
  67. help
  68. This is the virtual random number generator driver. It can be used
  69. with QEMU based targets.
  70. endmenu