Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. config DTC
  2. bool
  3. menuconfig OF
  4. bool "Device Tree and Open Firmware support"
  5. help
  6. This option enables the device tree infrastructure.
  7. It is automatically selected by platforms that need it or can
  8. be enabled manually for unittests, overlays or
  9. compile-coverage.
  10. if OF
  11. config OF_UNITTEST
  12. bool "Device Tree runtime unit tests"
  13. depends on OF_IRQ
  14. select OF_EARLY_FLATTREE
  15. select OF_RESOLVE
  16. help
  17. This option builds in test cases for the device tree infrastructure
  18. that are executed once at boot time, and the results dumped to the
  19. console.
  20. If unsure, say N here, but this option is safe to enable.
  21. config OF_FLATTREE
  22. bool
  23. select DTC
  24. select LIBFDT
  25. select CRC32
  26. config OF_EARLY_FLATTREE
  27. bool
  28. select OF_FLATTREE
  29. config OF_PROMTREE
  30. bool
  31. # Hardly any platforms need this. It is safe to select, but only do so if you
  32. # need it.
  33. config OF_DYNAMIC
  34. bool "Support for dynamic device trees" if OF_UNITTEST
  35. help
  36. On some platforms, the device tree can be manipulated at runtime.
  37. While this option is selected automatically on such platforms, you
  38. can enable it manually to improve device tree unit test coverage.
  39. config OF_ADDRESS
  40. def_bool y
  41. depends on !SPARC
  42. select OF_ADDRESS_PCI if PCI
  43. config OF_ADDRESS_PCI
  44. bool
  45. config OF_IRQ
  46. def_bool y
  47. depends on !SPARC && IRQ_DOMAIN
  48. config OF_NET
  49. depends on NETDEVICES
  50. def_bool y
  51. config OF_MDIO
  52. def_tristate PHYLIB
  53. depends on PHYLIB
  54. help
  55. OpenFirmware MDIO bus (Ethernet PHY) accessors
  56. config OF_PCI
  57. def_tristate PCI
  58. depends on PCI
  59. help
  60. OpenFirmware PCI bus accessors
  61. config OF_PCI_IRQ
  62. def_tristate PCI
  63. depends on OF_PCI && OF_IRQ
  64. help
  65. OpenFirmware PCI IRQ routing helpers
  66. config OF_MTD
  67. depends on MTD
  68. def_bool y
  69. config OF_RESERVED_MEM
  70. depends on OF_EARLY_FLATTREE
  71. bool
  72. help
  73. Helpers to allow for reservation of memory regions
  74. config OF_RESOLVE
  75. bool
  76. config OF_OVERLAY
  77. bool "Device Tree overlays"
  78. select OF_DYNAMIC
  79. select OF_RESOLVE
  80. help
  81. Overlays are a method to dynamically modify part of the kernel's
  82. device tree with dynamically loaded data.
  83. While this option is selected automatically when needed, you can
  84. enable it manually to improve device tree unit test coverage.
  85. endif # OF