Kconfig 2.0 KB

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