Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. 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. config OF_EARLY_FLATTREE
  21. bool
  22. select OF_FLATTREE
  23. config OF_PROMTREE
  24. bool
  25. # Hardly any platforms need this. It is safe to select, but only do so if you
  26. # need it.
  27. config OF_DYNAMIC
  28. bool
  29. config OF_ADDRESS
  30. def_bool y
  31. depends on !SPARC
  32. select OF_ADDRESS_PCI if PCI
  33. config OF_ADDRESS_PCI
  34. bool
  35. config OF_IRQ
  36. def_bool y
  37. depends on !SPARC
  38. config OF_NET
  39. depends on NETDEVICES
  40. def_bool y
  41. config OF_MDIO
  42. def_tristate PHYLIB
  43. depends on PHYLIB
  44. help
  45. OpenFirmware MDIO bus (Ethernet PHY) accessors
  46. config OF_PCI
  47. def_tristate PCI
  48. depends on PCI
  49. help
  50. OpenFirmware PCI bus accessors
  51. config OF_PCI_IRQ
  52. def_tristate PCI
  53. depends on OF_PCI && OF_IRQ
  54. help
  55. OpenFirmware PCI IRQ routing helpers
  56. config OF_MTD
  57. depends on MTD
  58. def_bool y
  59. config OF_RESERVED_MEM
  60. depends on OF_EARLY_FLATTREE
  61. bool
  62. help
  63. Helpers to allow for reservation of memory regions
  64. endmenu # OF