Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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_DEVICE
  40. def_bool y
  41. config OF_GPIO
  42. def_bool y
  43. depends on GPIOLIB && !SPARC
  44. help
  45. OpenFirmware GPIO accessors
  46. config OF_I2C
  47. def_tristate I2C
  48. depends on I2C && !SPARC
  49. help
  50. OpenFirmware I2C accessors
  51. config OF_NET
  52. depends on NETDEVICES
  53. def_bool y
  54. config OF_SPI
  55. def_tristate SPI
  56. depends on SPI && !SPARC
  57. help
  58. OpenFirmware SPI accessors
  59. config OF_MDIO
  60. def_tristate PHYLIB
  61. depends on PHYLIB
  62. help
  63. OpenFirmware MDIO bus (Ethernet PHY) accessors
  64. config OF_PCI
  65. def_tristate PCI
  66. depends on PCI
  67. help
  68. OpenFirmware PCI bus accessors
  69. config OF_PCI_IRQ
  70. def_tristate PCI
  71. depends on OF_PCI && OF_IRQ
  72. help
  73. OpenFirmware PCI IRQ routing helpers
  74. config OF_SPMI
  75. def_tristate SPMI
  76. depends on SPMI
  77. help
  78. OpenFirmware SPMI bus accessors
  79. config OF_MTD
  80. depends on MTD
  81. def_bool y
  82. config OF_SLIMBUS
  83. def_tristate SLIMBUS
  84. depends on SLIMBUS
  85. help
  86. OpenFirmware SLIMBUS accessors
  87. config OF_CORESIGHT
  88. def_bool y
  89. depends on CORESIGHT
  90. help
  91. OpenFirmware CoreSight accessors
  92. config OF_BATTERYDATA
  93. def_bool y
  94. help
  95. OpenFirmware BatteryData accessors
  96. config OF_SUBCMDLINE_PARSE
  97. bool "subcmdline"
  98. default n
  99. help
  100. OpenFirmware subcmdline parsing, it is add to meet
  101. many customized bootargs.
  102. endmenu # OF