Kconfig 1.6 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 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. config OF_DYNAMIC
  30. def_bool y
  31. depends on PPC_OF
  32. config OF_ADDRESS
  33. def_bool y
  34. depends on !SPARC
  35. config OF_IRQ
  36. def_bool y
  37. depends on !SPARC
  38. config OF_DEVICE
  39. def_bool y
  40. config OF_GPIO
  41. def_bool y
  42. depends on GPIOLIB && !SPARC
  43. help
  44. OpenFirmware GPIO accessors
  45. config OF_I2C
  46. def_tristate I2C
  47. depends on I2C && !SPARC
  48. help
  49. OpenFirmware I2C accessors
  50. config OF_NET
  51. depends on NETDEVICES
  52. def_bool y
  53. config OF_SPI
  54. def_tristate SPI
  55. depends on SPI && !SPARC
  56. help
  57. OpenFirmware SPI accessors
  58. config OF_MDIO
  59. def_tristate PHYLIB
  60. depends on PHYLIB
  61. help
  62. OpenFirmware MDIO bus (Ethernet PHY) accessors
  63. config OF_PCI
  64. def_tristate PCI
  65. depends on PCI
  66. help
  67. OpenFirmware PCI bus accessors
  68. config OF_PCI_IRQ
  69. def_tristate PCI
  70. depends on OF_PCI && OF_IRQ
  71. help
  72. OpenFirmware PCI IRQ routing helpers
  73. endmenu # OF