Kconfig 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_SANDBOX
  36. bool "Sandbox driver for virtio devices"
  37. depends on SANDBOX
  38. select VIRTIO
  39. help
  40. This driver provides support for Sandbox implementation of virtio
  41. transport driver which is used for testing purpose only.
  42. config VIRTIO_NET
  43. bool "virtio net driver"
  44. depends on VIRTIO
  45. help
  46. This is the virtual net driver for virtio. It can be used with
  47. QEMU based targets.
  48. config VIRTIO_BLK
  49. bool "virtio block driver"
  50. depends on VIRTIO
  51. depends on BLK
  52. help
  53. This is the virtual block driver for virtio. It can be used with
  54. QEMU based targets.
  55. config VIRTIO_RNG
  56. bool "virtio rng driver"
  57. depends on DM_RNG
  58. depends on VIRTIO
  59. default y
  60. help
  61. This is the virtual random number generator driver. It can be used
  62. with QEMU based targets.
  63. endmenu