Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_DYNAMIC
  11. select OF_RESOLVE
  12. help
  13. This option builds in test cases for the device tree infrastructure
  14. that are executed once at boot time, and the results dumped to the
  15. console.
  16. If unsure, say N here, but this option is safe to enable.
  17. config OF_FLATTREE
  18. bool
  19. select DTC
  20. select LIBFDT
  21. select CRC32
  22. config OF_EARLY_FLATTREE
  23. bool
  24. select OF_FLATTREE
  25. config OF_PROMTREE
  26. bool
  27. # Hardly any platforms need this. It is safe to select, but only do so if you
  28. # need it.
  29. config OF_DYNAMIC
  30. bool
  31. config OF_ADDRESS
  32. def_bool y
  33. depends on !SPARC
  34. select OF_ADDRESS_PCI if PCI
  35. config OF_ADDRESS_PCI
  36. bool
  37. config OF_IRQ
  38. def_bool y
  39. depends on !SPARC
  40. config OF_NET
  41. depends on NETDEVICES
  42. def_bool y
  43. config OF_MDIO
  44. def_tristate PHYLIB
  45. depends on PHYLIB
  46. help
  47. OpenFirmware MDIO bus (Ethernet PHY) accessors
  48. config OF_PCI
  49. def_tristate PCI
  50. depends on PCI
  51. help
  52. OpenFirmware PCI bus accessors
  53. config OF_PCI_IRQ
  54. def_tristate PCI
  55. depends on OF_PCI && OF_IRQ
  56. help
  57. OpenFirmware PCI IRQ routing helpers
  58. config OF_MTD
  59. depends on MTD
  60. def_bool y
  61. config OF_RESERVED_MEM
  62. depends on OF_EARLY_FLATTREE
  63. bool
  64. help
  65. Helpers to allow for reservation of memory regions
  66. config OF_RESOLVE
  67. bool
  68. config OF_OVERLAY
  69. bool
  70. depends on OF
  71. select OF_DYNAMIC
  72. select OF_RESOLVE
  73. endmenu # OF