Kconfig 2.0 KB

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