Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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_SELFTEST
  8. bool "Device Tree Runtime self 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. 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
  30. config OF_ADDRESS
  31. def_bool y
  32. depends on !SPARC
  33. select OF_ADDRESS_PCI if PCI
  34. config OF_ADDRESS_PCI
  35. bool
  36. config OF_IRQ
  37. def_bool y
  38. depends on !SPARC
  39. config OF_NET
  40. depends on NETDEVICES
  41. def_bool y
  42. config OF_MDIO
  43. def_tristate PHYLIB
  44. depends on PHYLIB
  45. help
  46. OpenFirmware MDIO bus (Ethernet PHY) accessors
  47. config OF_PCI
  48. def_tristate PCI
  49. depends on PCI
  50. help
  51. OpenFirmware PCI bus accessors
  52. config OF_PCI_IRQ
  53. def_tristate PCI
  54. depends on OF_PCI && OF_IRQ
  55. help
  56. OpenFirmware PCI IRQ routing helpers
  57. config OF_MTD
  58. depends on MTD
  59. def_bool y
  60. config OF_RESERVED_MEM
  61. depends on OF_EARLY_FLATTREE
  62. bool
  63. help
  64. Helpers to allow for reservation of memory regions
  65. config OF_RESOLVE
  66. bool
  67. endmenu # OF