Kconfig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. config DTC
  2. bool
  3. config OF
  4. bool
  5. menu "Device Tree and Open Firmware support"
  6. depends on OF
  7. config PROC_DEVICETREE
  8. bool "Support for device tree in /proc"
  9. depends on PROC_FS && !SPARC
  10. help
  11. This option adds a device-tree directory under /proc which contains
  12. an image of the device tree that the kernel copies from Open
  13. Firmware or other boot firmware. If unsure, say Y here.
  14. config OF_SELFTEST
  15. bool "Device Tree Runtime self tests"
  16. help
  17. This option builds in test cases for the device tree infrastructure
  18. that are executed one 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. config OF_EARLY_FLATTREE
  25. bool
  26. select OF_FLATTREE
  27. config OF_PROMTREE
  28. bool
  29. # Hardly any platforms need this. It is safe to select, but only do so if you
  30. # need it.
  31. config OF_DYNAMIC
  32. bool
  33. config OF_ADDRESS
  34. def_bool y
  35. depends on !SPARC
  36. config OF_IRQ
  37. def_bool y
  38. depends on !SPARC
  39. config OF_I2C
  40. def_tristate I2C
  41. depends on I2C
  42. help
  43. OpenFirmware I2C accessors
  44. config OF_NET
  45. depends on NETDEVICES
  46. def_bool y
  47. config OF_MDIO
  48. def_tristate PHYLIB
  49. depends on PHYLIB
  50. help
  51. OpenFirmware MDIO bus (Ethernet PHY) accessors
  52. config OF_PCI
  53. def_tristate PCI
  54. depends on PCI
  55. help
  56. OpenFirmware PCI bus accessors
  57. config OF_PCI_IRQ
  58. def_tristate PCI
  59. depends on OF_PCI && OF_IRQ
  60. help
  61. OpenFirmware PCI IRQ routing helpers
  62. config OF_MTD
  63. depends on MTD
  64. def_bool y
  65. endmenu # OF